Index: lib/filterClasses.js |
=================================================================== |
--- a/lib/filterClasses.js |
+++ b/lib/filterClasses.js |
@@ -362,17 +362,17 @@ ActiveFilter.prototype = |
domains[domain] = include; |
} |
domains[""] = !hasIncludes; |
} |
this.domainSource = null; |
} |
- this.__defineGetter__("domains", function() domains); |
+ Object.defineProperty(this, "domains", {value: domains, enumerable: true}); |
return this.domains; |
}, |
/** |
* Checks whether this filter is active on a domain. |
*/ |
isActiveOnDomain: function(/**String*/ docDomain) /**Boolean*/ |
{ |