diff options
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r-- | lib/bzpage.js | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index d150031..8395ba9 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -5,12 +5,6 @@ "use strict"; var util = require("util"); var simpleStorage = require("simple-storage"); -var Color = require("color").Color; - -var TriagedDistro = 13; -var NumberOfFrames = 7; -var XMLRPCurl = "https://bugzilla.redhat.com/xmlrpc.cgi"; -var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id="; // ==================================================================================== // BZPage's methods @@ -18,16 +12,12 @@ var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id="; var BZPage = exports.BZPage = function BZPage(doc, config) { console.log("doc = " + doc.title); console.log("config = " + config); - // constants - this.SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, - // 85 - this.ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, - // 83 + // initialize dynamic properties - this.doc = doc; + this.doc = doc; console.log("Now we are inside!"); }; BZPage.prototype.getBugId = function getBugId () { return util.getBugNo(this.doc.location.href); -};
\ No newline at end of file +}; |