Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ugal committed Jan 29, 2014
2 parents 7f10789 + feca664 commit 574ee4b
Show file tree
Hide file tree
Showing 9 changed files with 2,482 additions and 13 deletions.
668 changes: 668 additions & 0 deletions build/locache.0.4.2.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions build/locache.0.4.2.min.js

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

7 changes: 4 additions & 3 deletions build/locache.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, unused:true, curly:true, browser:true, jquery:true, indent:4, maxerr:200 */

// locache 0.4.1
// locache 0.4.2
//
// (c) 2012 Dougal Matthews
// locache may be freely distributed under the MIT license.
Expand Down Expand Up @@ -49,7 +49,7 @@
}

// Current version of locache, this is inserted in the build process.
LocacheCache.prototype.VERSION = "0.4.1";
LocacheCache.prototype.VERSION = "0.4.2";

// Boolean value that determines if they browser supports localStorage or
// not. This is based on the Modernizr implementation that can be found
Expand Down Expand Up @@ -556,7 +556,8 @@
for (var i = length - 1; i >= 0; i--) {
var key = this.storage.key(i);
if (key && key.indexOf(prefix) === 0) {
this.storage.remove(key);
var actualKey = key.substring(prefix.length, key.length);
this.remove(actualKey);
}
}

Expand Down
6 changes: 3 additions & 3 deletions build/locache.min.js

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

Loading

0 comments on commit 574ee4b

Please sign in to comment.