| Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/almazenServer/assets/grocery_crud/themes/bootstrap/js/common/   drwxr-xr-x | |
| Viewing file: Select action/file-type: var CacheLibrary = function () {
};
//From: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js
CacheLibrary.prototype.browserSupportsLocalStorage = function () {
    var mod = 'modernizr';
    try {
        localStorage.setItem(mod, mod);
        localStorage.removeItem(mod);
        return true;
    } catch (e) {
        return false;
    }
};
//By default this is empty as some browsers doesn't support localStorage cache
CacheLibrary.prototype.setLocalStorageItem = function (item, value) {
};
//By default this is empty as some browsers doesn't support localStorage cache
CacheLibrary.prototype.removeLocalStorageItem = function (item) {
};
//By default this is empty as some browsers doesn't support localStorage cache
CacheLibrary.prototype.getLocalStorageItem = function (item) {
    return null;
};
CacheLibrary.prototype.setLocalStorageCache = function () {
    if (this.browserSupportsLocalStorage()) {
        //if browser is supporting local storage overrides the empty functions
        this.setLocalStorageItem = function (item, value) {
            localStorage.setItem(item, value);
        };
        this.removeLocalStorageItem = function (item) {
            localStorage.removeItem(item);
        };
        this.getLocalStorageItem = function (item) {
            return localStorage.getItem(item);
        };
    }
};
CacheLibrary = new CacheLibrary();
CacheLibrary.setLocalStorageCache(); | 
| :: Command execute :: | |
| --[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0041 ]-- |