From b2fdf0aba247d9bb72a2f527fb256d5855096511 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 24 Feb 2014 05:27:01 -0700 Subject: [PATCH] check false on the right variable --- json-storage.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"