diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-01-20 17:51:29 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-01-20 17:51:29 +0100 |
commit | a8d92b4d8ef27e216b33781e014a35f55bf1be42 (patch) | |
tree | 3400885e5678ee6f963caf73e0818cf5efc6e72a /data/mozillabzpage.js | |
parent | 8b145a758d12871e705adbd7689598edd5dfa6c3 (diff) | |
download | bugzilla-triage-a8d92b4d8ef27e216b33781e014a35f55bf1be42.tar.gz |
First rough removal of objects and transformation on plain functions.
TODO:
* still this is all around the place
* constructors has not been fixed
* all require's were just yanked, but they are still used.
* functions should be more self-contained ... tons of global variables
everywhere.
Diffstat (limited to 'data/mozillabzpage.js')
-rw-r--r-- | data/mozillabzpage.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/data/mozillabzpage.js b/data/mozillabzpage.js deleted file mode 100644 index 31f6332..0000000 --- a/data/mozillabzpage.js +++ /dev/null @@ -1,19 +0,0 @@ -// 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 |