Index: lib/content/elemHideEmulation.js |
=================================================================== |
rename from chrome/content/elemHideEmulation.js |
rename to lib/content/elemHideEmulation.js |
--- a/chrome/content/elemHideEmulation.js |
+++ b/lib/content/elemHideEmulation.js |
@@ -447,8 +447,14 @@ |
{ |
let {document} = this.window; |
this.addSelectors(document.styleSheets); |
document.addEventListener("load", this.onLoad.bind(this), true); |
} |
}); |
} |
}; |
+ |
+if (typeof exports != "undefined") |
+{ |
+ exports.ElemHideEmulation = ElemHideEmulation; |
+ exports.splitSelector = splitSelector; |
+} |