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

Unified Diff: lib/firefoxDataCleanup.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS3 comment Created April 3, 2018, 6:03 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
Index: lib/firefoxDataCleanup.js
===================================================================
--- a/lib/firefoxDataCleanup.js
+++ b/lib/firefoxDataCleanup.js
@@ -12,21 +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 {Filter, ActiveFilter} = require("filterClasses");
-const {FilterNotifier} = require("filterNotifier");
-const {FilterStorage} = require("filterStorage");
-const {Prefs} = require("prefs");
-const {SpecialSubscription} = require("subscriptionClasses");
+const {Filter, ActiveFilter} = require("../adblockpluscore/lib/filterClasses");
+const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier");
+const {FilterStorage} = require("../adblockpluscore/lib/filterStorage");
+const {Prefs} = require("./prefs");
+const {SpecialSubscription} =
+ require("../adblockpluscore/lib/subscriptionClasses");
Promise.all([FilterNotifier.once("load"), Prefs.untilLoaded]).then(() =>
{
if (Prefs.data_cleanup_done)
return;
if (FilterStorage.firstRun)
{

Powered by Google App Engine
This is Rietveld