aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-11 21:49:43 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-11 21:49:43 +0200
commite8d6c71ee96a96230aadd5504e3f312774896920 (patch)
tree7ef6382a0dca5614fb0852ebc3cf95e801918ceb /lib/bzpage.js
parentf87bad6c212acaa4d33052eb53d01431dda3e103 (diff)
downloadbugzilla-triage-e8d6c71ee96a96230aadd5504e3f312774896920.tar.gz
More cleanup to make a simple reproducer
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js16
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
+};