Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nbubna committed Feb 2, 2015
1 parent feb645b commit 6447069
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Contributions are welcome!
* 2014-03-01 [v2.1.4][] (public) - Package definition and store.overlow.js updates
* 2014-03-06 [v2.1.5][] (public) - AMD support and Component improvements
* 2014-03-10 [v2.1.6][] (public) - Fix AMD support flaw
* 2015-02-02 [v2.2.0][] (public) - Change store.cache.js to use seconds, not minutes.

[v2.0.3]: https://github.com/nbubna/store/tree/2.0.3
[v2.1.0]: https://github.com/nbubna/store/tree/2.1.0
Expand All @@ -125,6 +126,7 @@ Contributions are welcome!
[v2.1.4]: https://github.com/nbubna/store/tree/2.1.4
[v2.1.5]: https://github.com/nbubna/store/tree/2.1.5
[v2.1.6]: https://github.com/nbubna/store/tree/2.1.6
[v2.2.0]: https://github.com/nbubna/store/tree/2.2.0

## Store vs Store
When i went to publish this on NPM i discovered another [store.js][other] by Marcus Westin.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "store2",
"version": "2.1.6",
"version": "2.2.0",
"main": "dist/store2.js",
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "store",
"version": "2.1.6",
"version": "2.2.0",
"description": "A better way to use localStorage and sessionStorage",
"repo": "nbubna/store",
"keywords": [
Expand Down
11 changes: 6 additions & 5 deletions dist/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ require.relative = function(parent) {
return localRequire;
};
require.register("store/dist/store2.js", function(exports, require, module){
/*! store2 - v2.1.6 - 2014-04-08
* Copyright (c) 2014 Nathan Bubna; Licensed MIT, GPL */
/*! store2 - v2.2.0 - 2015-02-02
* Copyright (c) 2015 Nathan Bubna; Licensed MIT, GPL */
;(function(window, define) {
var _ = {
version: "2.1.6",
version: "2.2.0",
areas: {},
apis: {},

Expand Down Expand Up @@ -531,8 +531,8 @@ require.register("store/src/store.cache.js", function(exports, require, module){
return false;
};
_.when = function(min) {// if min, return min->date, else date->min
var now = Math.floor((new Date().getTime())/60000);
return min ? new Date((now+min)*60000) : now;
var now = Math.floor((new Date().getTime())/1000);
return min ? new Date((now+min)*1000) : now;
};
_.cache = function(area, key) {
var s = _get(area, key),
Expand Down Expand Up @@ -568,6 +568,7 @@ require.register("store/src/store.cache.js", function(exports, require, module){
}
};
})(window.store._, undefined);

});
require.register("store/src/store.measure.js", function(exports, require, module){
/**
Expand Down
6 changes: 3 additions & 3 deletions dist/store2.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! store2 - v2.1.6 - 2014-03-10
* Copyright (c) 2014 Nathan Bubna; Licensed MIT, GPL */
/*! store2 - v2.2.0 - 2015-02-02
* Copyright (c) 2015 Nathan Bubna; Licensed MIT, GPL */
;(function(window, define) {
var _ = {
version: "2.1.6",
version: "2.2.0",
areas: {},
apis: {},

Expand Down
6 changes: 3 additions & 3 deletions dist/store2.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": "store2",
"version": "2.1.6",
"version": "2.2.0",
"description": "Better localStorage",
"keywords": [
"localStorage",
Expand Down

0 comments on commit 6447069

Please sign in to comment.