From ceed73dd5982f6cac6b37ce838710c2caed28ef5 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 26 Oct 2014 01:31:22 -0400 Subject: [PATCH] this fixes another console error as per #10 --- src/js/background.js | 1 + src/js/storage.js | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/js/background.js b/src/js/background.js index aea3a9a..1c53b25 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -85,6 +85,7 @@ return { firstUpdateAfter: 11 * oneMinute, nextUpdateAfter: 11 * oneHour, projectServerRoot: 'https://raw.githubusercontent.com/gorhill/umatrix/master/', + pslPath: 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat', // permanent hosts files permanentHostsFiles: { diff --git a/src/js/storage.js b/src/js/storage.js index 649639d..e5940ce 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -355,10 +355,7 @@ } callback(); }; - this.assets.get( - 'assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat', - applyPublicSuffixList - ); + this.assets.get(this.pslPath, applyPublicSuffixList); }; /******************************************************************************/