aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.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/rhbzpage.js
parentf87bad6c212acaa4d33052eb53d01431dda3e103 (diff)
downloadbugzilla-triage-e8d6c71ee96a96230aadd5504e3f312774896920.tar.gz
More cleanup to make a simple reproducer
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js19
1 files changed, 3 insertions, 16 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 468818b..407d383 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -4,15 +4,7 @@
// http://www.opensource.org/licenses/mit-license.php
"use strict";
var util = require("util");
-var xrpc = require("xmlrpc");
-var xhr = require("xhr");
-var clip = require("clipboard");
-var Color = require("color").Color;
var BZPage = require("bzpage").BZPage;
-// var TriagedDistro = 13;
-// var NumberOfFrames = 7;
-// var XMLRPCurl = "https://bugzilla.redhat.com/xmlrpc.cgi";
-// var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id=";
// ====================================================================================
// RHBugzillaPage object
@@ -21,17 +13,12 @@ var RHBugzillaPage = exports.RHBugzillaPage = function RHBugzillaPage(doc, confi
// inheritance ... call superobject's constructor
BZPage.call(this, doc, config);
- // For identification of graphics card
- var manuChipStrs = [ [ "ATI Radeon", "ATI", "1002" ],
- [ "ATI Mobility Radeon", "ATI", "1002" ],
- [ "Intel Corporation", "INTEL", "8086" ], [ "NVIDIA", "NV", "10de" ] ];
-
- console.log("Now we are outside!");
-
console.log("location = " + this.doc.location);
+
this.bugId = this.getBugId();
console.log("bug number = " + this.bugId);
+ console.log("Now we are outside!");
}; // END OF RHBugzillaPage CONSTRUCTOR
RHBugzillaPage.prototype = util.heir(BZPage);
-RHBugzillaPage.prototype.constructor = RHBugzillaPage; \ No newline at end of file
+RHBugzillaPage.prototype.constructor = RHBugzillaPage;