diff --git a/res/app/components/stf/browser-info/browser-info-service.js b/res/app/components/stf/browser-info/browser-info-service.js index a007af3b..df11302a 100644 --- a/res/app/components/stf/browser-info/browser-info-service.js +++ b/res/app/components/stf/browser-info/browser-info-service.js @@ -78,16 +78,6 @@ module.exports = function BrowserInfoServiceFactory() { return !!window.WebGLRenderingContext }) - addTest('generators', function () { - try { - /* jshint evil: true */ - new Function('function* test() {}')() - } catch (e) { - return false - } - return true - }) - addTest('ua', navigator.userAgent) // addTest('pointerevents', function () { diff --git a/res/app/components/stf/settings/index.js b/res/app/components/stf/settings/index.js index a923b909..a068450c 100644 --- a/res/app/components/stf/settings/index.js +++ b/res/app/components/stf/settings/index.js @@ -6,6 +6,7 @@ module.exports = angular.module('stf/settings', [ ]) .config(['$localForageProvider', function ($localForageProvider) { $localForageProvider.config({ + driver: 'localStorageWrapper', name: 'stf-v0', version: 1.0, storeName: 'settings',