Change the behavior so that type conversions only run inside of Clay.getSettings no ClayConfig.getSettings

This commit is contained in:
Keegan
2016-03-09 11:25:13 +11:00
parent 42fc8f1da4
commit 1af4dfd8ef
6 changed files with 127 additions and 32 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ function ClayConfig(settings, config, $rootContainer, meta) {
self.getSettings = function() {
_checkBuilt('getSettings');
_.eachObj(_itemsByAppKey, function(appKey, item) {
_settings[appKey] = utils.prepareForAppMessage(item.get());
_settings[appKey] = item.get();
});
return _settings;
};