diff options
author | Nik Nyby <nikolas@gnu.org> | 2015-10-23 00:11:54 -0400 |
---|---|---|
committer | Nik Nyby <nikolas@gnu.org> | 2015-10-23 00:11:54 -0400 |
commit | ecb096a25bf7a21714d940212040e959b2d2d48d (patch) | |
tree | 14c2cba75e4a923f7dbd5fb26b8915da3e406e3a | |
parent | 965af25a06bef4ba766d051b0f93d895ca11e1cf (diff) | |
download | librejsxul-ecb096a25bf7a21714d940212040e959b2d2d48d.tar.lz librejsxul-ecb096a25bf7a21714d940212040e959b2d2d48d.tar.xz librejsxul-ecb096a25bf7a21714d940212040e959b2d2d48d.zip |
updates for jpm
-rw-r--r-- | .jshintignore | 3 | ||||
-rw-r--r-- | lib/html_script_finder/web_labels/js_web_labels.js | 2 | ||||
-rw-r--r-- | lib/ui/ui_info.js | 3 | ||||
-rw-r--r-- | package.json | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/.jshintignore b/.jshintignore new file mode 100644 index 0000000..ad8214e --- /dev/null +++ b/.jshintignore @@ -0,0 +1,3 @@ +data/settings/third-party/ +data/chrome_worker/parser/ +lib/url_handler/node_* diff --git a/lib/html_script_finder/web_labels/js_web_labels.js b/lib/html_script_finder/web_labels/js_web_labels.js index e428d41..0cb64bf 100644 --- a/lib/html_script_finder/web_labels/js_web_labels.js +++ b/lib/html_script_finder/web_labels/js_web_labels.js @@ -174,7 +174,7 @@ WebLabelFinder.prototype.isLicenseFree = function( var found = false; // Check if we can look up this license by its identifier. - var identifier = lic.licenses[i]['licenseName']; + var identifier = lic.licenses[i].licenseName; if (typeof identifier !== 'undefined' && typeof licenses[identifier] !== 'undefined' ) { diff --git a/lib/ui/ui_info.js b/lib/ui/ui_info.js index ed6d65c..8b5ad81 100644 --- a/lib/ui/ui_info.js +++ b/lib/ui/ui_info.js @@ -162,7 +162,7 @@ var tabProcess = function (worker) { var searchSecondLevelPage = function( worker, urlToSearch, originalUrl) { - return; +/* var originalWorker = worker; console.debug('searchSecondLevelPage'); @@ -195,6 +195,7 @@ var searchSecondLevelPage = function( } }); } +*/ }; exports.testModule = { diff --git a/package.json b/package.json index f8377c9..d8379cb 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,8 @@ } ], "scripts": { - "pretest": "jshint ./lib/ ./data/", - "test": "cfx test -v" + "pretest": "jshint lib data", + "test": "jpm test -v" }, "jscsConfig": { "preset": "google", |