diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-06-12 10:14:00 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-06-12 10:14:00 +0200 |
commit | 8915ed6b738fd605ab15798784c0c688b107855b (patch) | |
tree | 07744f4fab2710511f4114cdb9e638ed53eafd8e /lib/bzpage.js | |
parent | b7d1189321fdcaee248d59573e53fdf2a6a2d1d9 (diff) | |
download | bugzilla-triage-8915ed6b738fd605ab15798784c0c688b107855b.tar.gz |
Even more simplification
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; }; |