aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mozillabzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-17 18:20:03 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-17 18:20:03 +0200
commit9279d5bc3902ab0b18af3a3f8440b8ddd884dec5 (patch)
tree1f642276cfbd30c70cae6307253020206d87e235 /lib/mozillabzpage.js
parent620ca44cfa360d6e100215619acab8ae1eb10f34 (diff)
downloadbugzilla-triage-9279d5bc3902ab0b18af3a3f8440b8ddd884dec5.tar.gz
Inheritance works, now there are jetpack-prototype-related bugs
Diffstat (limited to 'lib/mozillabzpage.js')
-rw-r--r--lib/mozillabzpage.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/mozillabzpage.js b/lib/mozillabzpage.js
new file mode 100644
index 0000000..add0a3d
--- /dev/null
+++ b/lib/mozillabzpage.js
@@ -0,0 +1,16 @@
+// Released under the MIT/X11 license
+// http://www.opensource.org/licenses/mit-license.php
+"use strict";
+var utilMod = require("util");
+
+// ============================================================================
+// MozillaBugzilla object
+
+var MozillaBugzilla = function MozillaBugzilla (doc, config) {
+ BZPage.call(this, doc, config)
+};
+
+MozillaBugzilla.prototype = utilMod.heir(BZPage);
+MozillaBugzilla.prototype.constructor = MozillaBugzilla;
+
+exports.MozillaBugzilla = MozillaBugzilla; \ No newline at end of file