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:
Bernhard Weichel 2014-12-14 23:40:47 +01:00
commit 7da354d5f3

View file

@ -141,11 +141,11 @@ var AppConfig = function() {
opts[name].value = value;
}
};
this.setDefaultValues = function(path, optionHash) {
Object.keys(optionHash).forEach(function(key) {
this.setDefaultValue(path, key, optionHash[key]);
});
}, this);
};
this.warn = warn;