diff options
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r-- | lib/bzpage.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index 8395ba9..fb242d2 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -10,14 +10,12 @@ var simpleStorage = require("simple-storage"); // BZPage's methods var BZPage = exports.BZPage = function BZPage(doc, config) { - console.log("doc = " + doc.title); - console.log("config = " + config); - // initialize dynamic properties this.doc = doc; console.log("Now we are inside!"); }; -BZPage.prototype.getBugId = function getBugId () { - return util.getBugNo(this.doc.location.href); +BZPage.prototype.getURL = function getURL () { + console.log("url = " + this.doc.location.href); + return this.doc.location.href; }; |