fixed Uncaught TypeError: undefined is not a functionapp_config.js:147
(anonymous function)app_config.js:146 setDefaultValuesmode_creator.js:6
This commit is contained in:
parent
18b3c57de9
commit
7da354d5f3
1 changed files with 2 additions and 2 deletions
|
|
@ -141,11 +141,11 @@ var AppConfig = function() {
|
||||||
opts[name].value = value;
|
opts[name].value = value;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.setDefaultValues = function(path, optionHash) {
|
this.setDefaultValues = function(path, optionHash) {
|
||||||
Object.keys(optionHash).forEach(function(key) {
|
Object.keys(optionHash).forEach(function(key) {
|
||||||
this.setDefaultValue(path, key, optionHash[key]);
|
this.setDefaultValue(path, key, optionHash[key]);
|
||||||
});
|
}, this);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.warn = warn;
|
this.warn = warn;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue