From 24d390c4c3195d885dad8fbbe7477c92a045f8d0 Mon Sep 17 00:00:00 2001 From: Quinn Slack Date: Tue, 19 Apr 2011 01:14:01 -0700 Subject: [PATCH] add missing notready exception --- core/sjcl.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/sjcl.js b/core/sjcl.js index e364421..90c91b5 100644 --- a/core/sjcl.js +++ b/core/sjcl.js @@ -55,6 +55,12 @@ var sjcl = { bug: function(message) { this.toString = function() { return "BUG: "+this.message; }; this.message = message; + }, + + /** @class Something isn't ready. */ + notready: function(message) { + this.toString = function() { return "NOT READY: "+this.message; }; + this.message = message; } } };