Change the ClayConfig.getSettings() method to convert data types to be compatible with sendAppMessage

This commit is contained in:
Keegan
2016-03-07 12:58:46 +11:00
parent d6659db3ac
commit 271a0d1cfd
4 changed files with 78 additions and 4 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] = item.get();
_settings[appKey] = utils.prepareForAppMessage(item.get());
});
return _settings;
};