react-native-storage
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "react-native-storage", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "This is a local storage wrapper for both react-native(AsyncStorage) and browser(localStorage). ES6/babel is needed.", | ||
@@ -5,0 +5,0 @@ "main": "storage.js", |
/* | ||
* local storage(web/react native) wrapper | ||
* sunnylqm 2015-08-23 | ||
* version 0.0.4 | ||
* version 0.0.5 | ||
*/ | ||
@@ -41,3 +41,3 @@ let cache = {}; | ||
} | ||
static _saveToMap(m, id, d) { | ||
static _saveToMap(id, d) { | ||
let s = Storage._s; | ||
@@ -188,3 +188,3 @@ if(m[id]){ | ||
ret; | ||
if(m && m[id] !== undefined){ | ||
if(m[id] !== undefined){ | ||
if(isBrowser){ | ||
@@ -191,0 +191,0 @@ ret = s.getItem('map_' + m[id]); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15010