aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mozillabzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-05-31 19:03:04 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-05-31 19:03:04 +0200
commit2447e31a804eb7d7fe5ef01b974cba3b615e0594 (patch)
treef4487a9c0c10b476caa3c74f9871bd3e6617472d /lib/mozillabzpage.js
parent951ef0d578130106e303e5586f53404a900ccf9c (diff)
downloadbugzilla-triage-2447e31a804eb7d7fe5ef01b974cba3b615e0594.tar.gz
First attempt to split main script into modules.
Diffstat (limited to 'lib/mozillabzpage.js')
-rw-r--r--lib/mozillabzpage.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/mozillabzpage.js b/lib/mozillabzpage.js
new file mode 100644
index 0000000..5a864f9
--- /dev/null
+++ b/lib/mozillabzpage.js
@@ -0,0 +1,13 @@
+// Released under the MIT/X11 license
+// http://www.opensource.org/licenses/mit-license.php
+"use strict";
+
+// ====================================================================================
+// MozillaBugzilla object
+
+exports.MozillaBugzilla = function MozillaBugzilla (doc) {
+ BZPage.call(this, doc)
+};
+
+MozillaBugzilla.prototype = hlpr.heir(BZPage);
+MozillaBugzilla.prototype.constructor = MozillaBugzilla;