Permalink
Browse files

Merge branch 'master' into gh-pages

  • Loading branch information...
d0ugal committed Jan 29, 2014
2 parents 7f10789 + feca664 commit 574ee4b07b02405342a6cd7f09a4b2395d680325
Showing with 2,482 additions and 13 deletions.
  1. +668 −0 build/locache.0.4.2.js
  2. +10 −0 build/locache.0.4.2.min.js
  3. +4 −3 build/locache.js
  4. +3 −3 build/locache.min.js
  5. +1,749 −0 docs/locache.0.4.2.html
  6. +6 −5 docs/locache.html
  7. +2 −1 locache.js
  8. +39 −0 tests/specs/expire.js
  9. +1 −1 version.txt
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -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.
@@ -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
@@ -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);
}
}
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 574ee4b

Please sign in to comment.