diff --git a/json-storage.js b/json-storage.js index 8585fcb..f56fc27 100644 --- a/json-storage.js +++ b/json-storage.js @@ -52,7 +52,7 @@ // complicated to figure it out this._namespace = delim; this._namespace += (namespace || 'jss'); - if (false === this._namespace) { + if (false === namespace) { this._namespace = ''; } diff --git a/package.json b/package.json index 2c8ed86..06b6cbc 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "json-storage", "description": "A wrapper for storage engines which use the W3C Storage API", "keywords": ["dom", "storage", "json", "w3c", "localStorage", "sessionStorage", "globalStorage", "Storage"], - "version": "2.1.0", + "version": "2.1.1", "repository": { "type": "git", "url": "git://github.com/coolaj86/json-storage-js.git"