cacheModule.js
function overwriteBrowserStorage(){
    if((browser && store) || storageMock){
      var db = cache;
      try {
        db = JSON.stringify(db);
        store.setItem(storageKey, db);
      } catch (err) { /* Do nothing */ }
    }
  }
function overwriteBrowserStorage(){
    if((browser && store) || storageMock){
      var db = cache;
      try {
        db = JSON.stringify(db);
        store.setItem(storageKey, db);
      } catch (err) { /* Do nothing */ }
    }
  }
function overwriteBrowserStorage ( ) { if ( ( browser && store ) || storageMock ) { var db = cache ; try { db = JSON . stringify ( db ) ; store . setItem ( storageKey , db ) ; } catch ( err ) { /* Do nothing */ } } }
Overwrite namespaced browser storage with current cache
Overwrite namespaced browser storage with current cache