fix(config) change config before setConfig

This commit is contained in:
coderaiser 2013-11-19 12:32:42 +00:00
parent 444eb6041e
commit 1d42aed7eb

View file

@ -136,9 +136,8 @@ var CloudCmd, Util, DOM;
Notify.request();
}
CloudCmd.setConfig(CONFIG, function() {
CONFIG[name] = data;
});
CONFIG[name] = data;
CloudCmd.setConfig(CONFIG);
DOM.RESTful.config(obj);
}