aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
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;