Skip to content

Commit

Permalink
released v1.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 18, 2018
1 parent fff5d90 commit e18d1ca
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
5 changes: 1 addition & 4 deletions dist/store.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* storejs v1.0.21
* storejs v1.0.22
* Local storage localstorage package provides a simple API
*
* Copyright (c) 2018 kenny wang <wowohoo@qq.com>
Expand Down Expand Up @@ -89,7 +89,6 @@ function Store() {

Store.prototype = {
set: function set(key, val) {

if (key && !isJSON(key)) {
storage.setItem(key, stringify(val));
} else if (key && isJSON(key) && !val) {
Expand All @@ -116,8 +115,6 @@ Store.prototype = {
return deserialize(storage.getItem(key));
},
clear: function clear() {
this.forEach(function (key, val) {
});
storage.clear();
return this;
},
Expand Down
4 changes: 2 additions & 2 deletions dist/store.common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions dist/store.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* storejs v1.0.21
* storejs v1.0.22
* Local storage localstorage package provides a simple API
*
* Copyright (c) 2018 kenny wang <wowohoo@qq.com>
Expand Down Expand Up @@ -87,7 +87,6 @@ function Store() {

Store.prototype = {
set: function set(key, val) {

if (key && !isJSON(key)) {
storage.setItem(key, stringify(val));
} else if (key && isJSON(key) && !val) {
Expand All @@ -114,8 +113,6 @@ Store.prototype = {
return deserialize(storage.getItem(key));
},
clear: function clear() {
this.forEach(function (key, val) {
});
storage.clear();
return this;
},
Expand Down
5 changes: 1 addition & 4 deletions dist/store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* storejs v1.0.21
* storejs v1.0.22
* Local storage localstorage package provides a simple API
*
* Copyright (c) 2018 kenny wang <wowohoo@qq.com>
Expand Down Expand Up @@ -93,7 +93,6 @@

Store.prototype = {
set: function set(key, val) {

if (key && !isJSON(key)) {
storage.setItem(key, stringify(val));
} else if (key && isJSON(key) && !val) {
Expand All @@ -120,8 +119,6 @@
return deserialize(storage.getItem(key));
},
clear: function clear() {
this.forEach(function (key, val) {
});
storage.clear();
return this;
},
Expand Down
4 changes: 2 additions & 2 deletions dist/store.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storejs",
"version": "1.0.21",
"version": "1.0.22",
"description": "Local storage localstorage package provides a simple API",
"homepage": "https://github.com/jaywcjlove/store.js",
"main": "dist/store.common.js",
Expand Down

0 comments on commit e18d1ca

Please sign in to comment.