From 754e9754a024aeb85c91acad13f47e8c3b64fe6c Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Tue, 19 Apr 2011 13:15:23 -0700 Subject: [PATCH] notready -> notReady --- core/random.js | 2 +- core/sjcl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/random.js b/core/random.js index 2080cd3..a32eaa3 100644 --- a/core/random.js +++ b/core/random.js @@ -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)); } diff --git a/core/sjcl.js b/core/sjcl.js index 90c91b5..4c751cd 100644 --- a/core/sjcl.js +++ b/core/sjcl.js @@ -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; }