dist/lemurro.js
function checkIfLocalStorageThrows() {
    var localStorageTestKey = '_localforage_support_test';

    try {
        localStorage.setItem(localStorageTestKey, true);
        localStorage.removeItem(localStorageTestKey);

        return false;
    } catch (e) {
        return true;
    }
}
function checkIfLocalStorageThrows() {
    var localStorageTestKey = '_localforage_support_test';

    try {
        localStorage.setItem(localStorageTestKey, true);
        localStorage.removeItem(localStorageTestKey);

        return false;
    } catch (e) {
        return true;
    }
}
function checkIfLocalStorageThrows ( ) { var localStorageTestKey = '_localforage_support_test' ; try { localStorage . setItem ( localStorageTestKey , true ) ; localStorage . removeItem ( localStorageTestKey ) ; return false ; } catch ( e ) { return true ; } }
Check if localStorage throws when saving an item
Check if localStorage throws when saving an item