aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/main.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/main.js b/lib/main.js
index ae7eece..986670f 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -16,7 +16,6 @@ var util = require("util");
var file = require("file");
var myStorage = require("simple-storage").storage;
var browser = require("tab-browser");
-var JSONURL = "http://matej.ceplovi.cz/progs/data/RH_Data-packages.json";
var config = {};
@@ -33,19 +32,12 @@ function initialize(callback) {
}, this);
}
-// TODO: sometime in the future we should include
-// also skip-process.js functionality and these URLs
-// "https://bugzilla.redhat.com/process_bug.cgi",
-// "https://bugzilla.redhat.com/post_bug.cgi",
-// "https://bugzilla.mozilla.org/post_bug.cgi",
-// "https://bugzilla.mozilla.org/process_bug.cgi"
function isOurPage(window, matchingURLs) {
if ("window" in window) {
window = window.window;
}
var url = window.location.href;
- // like ["regexp-url1", "regexp-url2"]
return matchingURLs.some(function (element,i,a) {
return new RegExp(element).test(url);
});
@@ -63,4 +55,4 @@ exports.main = function main(options, callbacks) {
}
});
});
-}; \ No newline at end of file
+};