diff --git a/src/javascript/browserApi/storageProvider.js b/src/javascript/browserApi/storageProvider.js index cae3bf6..0f84b1d 100644 --- a/src/javascript/browserApi/storageProvider.js +++ b/src/javascript/browserApi/storageProvider.js @@ -61,7 +61,7 @@ class StorageProviderFirefox { } } -let __storageProvieder = undefined; +let __storageProvieder; function createStorageProvider() { // chrome based browser diff --git a/src/javascript/configuration/configuration.js b/src/javascript/configuration/configuration.js index 3e16999..23ad4fd 100644 --- a/src/javascript/configuration/configuration.js +++ b/src/javascript/configuration/configuration.js @@ -25,7 +25,7 @@ class Configuration { } else { // OOOPS // currently all settings are default true. This isnĀ“t a problem but there should be much better soloutions after migration to typescript.... - let value = getGlobalStorageProvider().getData(key, true, value => { + getGlobalStorageProvider().getData(key, true, value => { this.settingsCache.set(key, value); callback(value); }); @@ -33,7 +33,7 @@ class Configuration { } } -let __globalConfig = undefined; +let __globalConfig; export function getGlobalConfiguration() { if (!assigned(__globalConfig)) {