diff options
author | Nik Nyby <nikolas@gnu.org> | 2015-06-19 19:23:45 -0400 |
---|---|---|
committer | Nik Nyby <nikolas@gnu.org> | 2015-10-22 21:33:30 -0400 |
commit | 9180aa0e94f4c043f2ef6103788d7fde0b927741 (patch) | |
tree | 98a7b8a01edd03c99b55ec49aaa0fc14a8840019 | |
parent | 3349cb55c55cdbd21fe26bfeef39c2205b4e5532 (diff) | |
download | librejsxul-9180aa0e94f4c043f2ef6103788d7fde0b927741.tar.lz librejsxul-9180aa0e94f4c043f2ef6103788d7fde0b927741.tar.xz librejsxul-9180aa0e94f4c043f2ef6103788d7fde0b927741.zip |
jpm compat
-rw-r--r-- | lib/script_entries/free_libraries.js | 2 | ||||
-rw-r--r-- | lib/ui/script_panel.js | 2 | ||||
-rw-r--r-- | lib/ui/ui_info.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/script_entries/free_libraries.js b/lib/script_entries/free_libraries.js index ac1a664..291b982 100644 --- a/lib/script_entries/free_libraries.js +++ b/lib/script_entries/free_libraries.js @@ -30,7 +30,7 @@ var scriptsCached = require("./scripts_cache").scriptsCached; // find the json database path. var dbContents = require("sdk/self").data.load( - "../script_libraries/script-libraries.json"); + "script_libraries/script-libraries.json"); const AUTHOR_REASON = "This script has been tagged as free software by LibreJS authors."; diff --git a/lib/ui/script_panel.js b/lib/ui/script_panel.js index 35b601c..12c25ae 100644 --- a/lib/ui/script_panel.js +++ b/lib/ui/script_panel.js @@ -20,7 +20,7 @@ * along with GNU LibreJS. If not, see <http://www.gnu.org/licenses/>. */ -var urlHandler = require("url_handler/url_handler"); +var urlHandler = require("../url_handler/url_handler"); /** * addScriptsToPanelList diff --git a/lib/ui/ui_info.js b/lib/ui/ui_info.js index 6df8a09..ed6d65c 100644 --- a/lib/ui/ui_info.js +++ b/lib/ui/ui_info.js @@ -24,10 +24,10 @@ var data = require("sdk/self").data; var pageMod = require("sdk/page-mod"); -var urlHandler = require("url_handler/url_handler"); +var urlHandler = require("../url_handler/url_handler"); var pageWorker = require("sdk/page-worker"); var tabs = require("sdk/tabs"); -var prefs = require("addon_management/prefchange"); +var prefs = require("../addon_management/prefchange"); // contain list of recently found contact links or email addresses. var contactList = {}; |