aboutsummaryrefslogtreecommitdiffstats
path: root/data/js/urltest.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-24 01:05:40 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-24 01:05:40 +0100
commit23fb75565611af1e85455844be1d8931efe0a0a4 (patch)
tree49b5fd13b41e4a311db3fa73717c8fe8001b396c /data/js/urltest.js
parent2e5993bc9bd0d468f4e9d12dd39e0548ba9adda1 (diff)
parent0d4cd0b6cf83e697adf35c27c3d20ae137012db3 (diff)
downloadbugzilla-triage-23fb75565611af1e85455844be1d8931efe0a0a4.tar.gz
Merge branch 'Ehsan' into bugzillatweaks
Conflicts: lib/main.js package.json
Diffstat (limited to 'data/js/urltest.js')
-rw-r--r--data/js/urltest.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/js/urltest.js b/data/js/urltest.js
new file mode 100644
index 0000000..a0dbabf
--- /dev/null
+++ b/data/js/urltest.js
@@ -0,0 +1,4 @@
+function onBugzillaPage(url) {
+ return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url)
+ || /https:\/\/landfill.*\.bugzilla\.org/.test(url);
+} \ No newline at end of file