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

Unified Diff: qunit/common.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS4 comments, rebase Created April 5, 2018, 11:09 p.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/whitelisting.js ('k') | qunit/tests/cssEscaping.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: qunit/common.js
===================================================================
--- a/qunit/common.js
+++ b/qunit/common.js
@@ -12,22 +12,22 @@
* 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/>.
*/
"use strict";
-const {FilterStorage} = require("filterStorage");
-const {Subscription} = require("subscriptionClasses");
-const {Filter} = require("filterClasses");
-const {defaultMatcher} = require("matcher");
-const {ElemHide} = require("elemHide");
-const {Prefs} = require("prefs");
+const {FilterStorage} = require("../adblockpluscore/lib/filterStorage");
+const {Subscription} = require("../adblockpluscore/lib/subscriptionClasses");
+const {Filter} = require("../adblockpluscore/lib/filterClasses");
+const {defaultMatcher} = require("../adblockpluscore/lib/matcher");
+const {ElemHide} = require("../adblockpluscore/lib/elemHide");
+const {Prefs} = require("../lib/prefs");
function prepareFilterComponents(keepListeners)
{
FilterStorage.subscriptions = [];
FilterStorage.knownSubscriptions = Object.create(null);
Subscription.knownSubscriptions = Object.create(null);
Filter.knownFilters = Object.create(null);
« no previous file with comments | « lib/whitelisting.js ('k') | qunit/tests/cssEscaping.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld