Assignment error

This commit is contained in:
James Barnsley
2017-11-23 21:17:27 +13:00
parent 09ad29c853
commit 64bbaf9d1f
6 changed files with 6 additions and 6 deletions

View File

@ -301,7 +301,7 @@ var getStorage = exports.getStorage = function getStorage(key) {
var default_value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
if (storage) {
value = storage.getItem(key);
var value = storage.getItem(key);
if (value) {
return JSON.parse(value);
} else {