#32 Fixed issues remarked by scrutinizer-ci
* unused variable * explicit unedfined assignments
This commit is contained in:
parent
10e584bfa9
commit
483ea7f96e
|
@ -61,7 +61,7 @@ class StorageProviderFirefox {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let __storageProvieder = undefined;
|
let __storageProvieder;
|
||||||
|
|
||||||
function createStorageProvider() {
|
function createStorageProvider() {
|
||||||
// chrome based browser
|
// chrome based browser
|
||||||
|
|
|
@ -25,7 +25,7 @@ class Configuration {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// OOOPS // currently all settings are default true. This isn´t a problem but there should be much better soloutions after migration to typescript....
|
// 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);
|
this.settingsCache.set(key, value);
|
||||||
callback(value);
|
callback(value);
|
||||||
});
|
});
|
||||||
|
@ -33,7 +33,7 @@ class Configuration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let __globalConfig = undefined;
|
let __globalConfig;
|
||||||
|
|
||||||
export function getGlobalConfiguration() {
|
export function getGlobalConfiguration() {
|
||||||
if (!assigned(__globalConfig)) {
|
if (!assigned(__globalConfig)) {
|
||||||
|
|
Loading…
Reference in a new issue