Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/cssInjection.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS2 comments, rebase Created March 30, 2018, 3:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/csp.js ('k') | lib/devtools.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/cssInjection.js
===================================================================
--- a/lib/cssInjection.js
+++ b/lib/cssInjection.js
@@ -14,24 +14,24 @@
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/** @module cssInjection */
"use strict";
-const {RegExpFilter} = require("filterClasses");
-const {ElemHide} = require("elemHide");
-const {ElemHideEmulation} = require("elemHideEmulation");
-const {checkWhitelisted} = require("whitelisting");
-const {extractHostFromFrame} = require("url");
-const {port} = require("messaging");
-const devtools = require("devtools");
-const info = require("info");
+const {RegExpFilter} = require("../adblockpluscore/lib/filterClasses");
+const {ElemHide} = require("../adblockpluscore/lib/elemHide");
+const {ElemHideEmulation} = require("../adblockpluscore/lib/elemHideEmulation");
+const {checkWhitelisted} = require("./whitelisting");
+const {extractHostFromFrame} = require("./url");
+const {port} = require("./messaging");
+const devtools = require("./devtools");
+const info = require("../buildtools/info");
// Chromium's support for tabs.removeCSS is still a work in progress and the
// API is likely to be different from Firefox's; for now we just don't use it
// at all, even if it's available.
// See https://crbug.com/608854
const styleSheetRemovalSupported = info.platform == "gecko";
const selectorGroupSize = 1024;
« no previous file with comments | « lib/csp.js ('k') | lib/devtools.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld