aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/core/deserializer.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-17 14:01:38 -0700
committerArmen Kesablyan2012-05-17 14:01:38 -0700
commit6c8f3525b839e82cf43df43700a0160ee2c5458f (patch)
tree3fb801fa54b759c5568d75bb467e02652ce77c3e /node_modules/montage/core/deserializer.js
parente8ae5db7ce7023b638375cbc27a3f7b7a2f77b23 (diff)
parent342c97ac9b727b22a7b0bfefca4d2a168bc3055b (diff)
downloadninja-6c8f3525b839e82cf43df43700a0160ee2c5458f.tar.gz
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts: css/ninja.css scss/imports/scss/_toolbar.scss Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/core/deserializer.js')
-rwxr-xr-xnode_modules/montage/core/deserializer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/montage/core/deserializer.js b/node_modules/montage/core/deserializer.js
index c1c97b2b..2b3ed64e 100755
--- a/node_modules/montage/core/deserializer.js
+++ b/node_modules/montage/core/deserializer.js
@@ -142,7 +142,7 @@ var Deserializer = Montage.create(Montage, /** @lends module:montage/core/deseri
142 return this; 142 return this;
143 }}, 143 }},
144 144
145 initWithObjectAndRequire: {value: function(string, require, origin) { 145 initWithObjectAndRequire: {value: function(object, require, origin) {
146 this._reset(); 146 this._reset();
147 this._serializationString = JSON.stringify(object); 147 this._serializationString = JSON.stringify(object);
148 this._require = require; 148 this._require = require;
@@ -1075,7 +1075,7 @@ var Deserializer = Montage.create(Montage, /** @lends module:montage/core/deseri
1075 object; 1075 object;
1076 1076
1077 for (var label in objects) { 1077 for (var label in objects) {
1078 if (label in labels) { 1078 if (labels[label] != null) { // we should call deserializedFromSerialization on all instantiated objects even if they were passed as null/undefined in instances.
1079 continue; 1079 continue;
1080 } 1080 }
1081 object = objects[label]; 1081 object = objects[label];