diff options
Diffstat (limited to 'data/bzpage.js')
-rw-r--r-- | data/bzpage.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/data/bzpage.js b/data/bzpage.js index f99bc21..c71ab51 100644 --- a/data/bzpage.js +++ b/data/bzpage.js @@ -20,32 +20,6 @@ var config = {}; var constantData = {}; // This should be probably eliminated ASAP or // or done by other means. TODO var submitHandlerInstalled = false; // for setUpLogging -// ============================================ -/** - * object to pack messaging. Use as in - postMessage(new Message("GetPassword", { - login: login, - hostname: location.hostname - })); - */ -function Message(cmd, data) { - this.cmd = cmd; - this.data = data; -} - -function log(msg) { - postMessage(new Message("LogMessage", msg)); -} - -var NotLoggedinException = function NotLoggedinException (message) { - this.message = message; - this.name = "NotLoggedinException"; -}; - -NotLoggedinException.prototype.toString = function () { - return this.name + ': "' + this.message + '"'; -}; - /** * central handler processing messages from the main script. */ |