notready -> notReady

This commit is contained in:
Mike Hamburg 2011-04-19 13:15:23 -07:00
parent b395616c04
commit 754e9754a0
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ sjcl.random = {
var out = [], i, readiness = this.isReady(paranoia), g;
if (readiness === this._NOT_READY) {
throw new sjcl.exception.notready("generator isn't seeded");
throw new sjcl.exception.notReady("generator isn't seeded");
} else if (readiness & this._REQUIRES_RESEED) {
this._reseedFromPools(!(readiness & this._READY));
}

View file

@ -58,7 +58,7 @@ var sjcl = {
},
/** @class Something isn't ready. */
notready: function(message) {
notReady: function(message) {
this.toString = function() { return "NOT READY: "+this.message; };
this.message = message;
}