Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -10,16 +10,22 @@ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
+// Make sure that the required modules get loaded |
Sebastian Noack
2016/05/31 11:42:13
As you might have realized this file has shrinked
Wladimir Palant
2016/05/31 13:47:54
Ok, I've implemented it as an option in JSHydra. T
kzar
2016/05/31 14:54:08
The new approach makes sense to me, but the only t
|
+require("filterListener"); |
+require("synchronizer"); |
+require("notification"); |
+require("messageResponder"); |
+ |
var RegExpFilter = require("filterClasses").RegExpFilter; |
var ElemHide = require("elemHide").ElemHide; |
var checkWhitelisted = require("whitelisting").checkWhitelisted; |
var extractHostFromFrame = require("url").extractHostFromFrame; |
var port = require("messaging").port; |
var devtools = require("devtools"); |
port.on("get-selectors", function(msg, sender) |