web-local-storage
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -5,3 +5,3 @@ "use strict"; | ||
function _isBrowser() { | ||
return typeof this.storage !== "undefined"; | ||
return typeof localStorage !== "undefined"; | ||
} | ||
@@ -8,0 +8,0 @@ var WebLocalStorage = /** @class */ (function () { |
{ | ||
"name": "web-local-storage", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Convenience class to work with localStorage. Implements the same interface as js-cookie.", | ||
@@ -5,0 +5,0 @@ "main": "dist/web-local-storage.js", |
function _isBrowser() { | ||
return typeof this.storage !== "undefined"; | ||
return typeof localStorage !== "undefined"; | ||
} | ||
@@ -4,0 +4,0 @@ export interface IWebStorage { |
Sorry, the diff of this file is not supported yet
7377