aboutsummaryrefslogtreecommitdiffstats
path: root/data/mozillabzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-01-20 15:58:49 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-01-20 15:58:49 +0100
commit0c0fbbf5492e3a9ec9f8e4a1c9713883d3b350ac (patch)
tree1cc22de7167f8cd705e361de986515af41c6f200 /data/mozillabzpage.js
parent1c12d7cfe11a0c9caa9f4c9b378da933fff4bb37 (diff)
downloadbugzilla-triage-0c0fbbf5492e3a9ec9f8e4a1c9713883d3b350ac.tar.gz
Just move key libraries to data/ to be made into content scripts.
Diffstat (limited to 'data/mozillabzpage.js')
-rw-r--r--data/mozillabzpage.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/mozillabzpage.js b/data/mozillabzpage.js
new file mode 100644
index 0000000..31f6332
--- /dev/null
+++ b/data/mozillabzpage.js
@@ -0,0 +1,19 @@
+// Released under the MIT/X11 license
+// http://www.opensource.org/licenses/mit-license.php
+"use strict";
+var utilMod = require("util");
+var apiUtils = require("api-utils");
+var BZPage = require("bzpage").BZPage;
+
+// ============================================================================
+// MozillaBugzilla object
+
+var MozillaBugzilla = function MozillaBugzilla (doc, config) {
+ BZPage.call(this, doc, config);
+};
+
+MozillaBugzilla.prototype = utilMod.heir(BZPage);
+MozillaBugzilla.prototype.constructor = MozillaBugzilla;
+
+// exports.MozillaBugzilla = apiUtils.publicConstructor(MozillaBugzilla);
+exports.MozillaBugzilla = MozillaBugzilla; \ No newline at end of file