aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel
diff options
context:
space:
mode:
authorEric Guzman2012-05-18 11:17:15 -0700
committerEric Guzman2012-05-18 11:17:15 -0700
commit1792d1f72889bfb4c48d32d950d3b680abf0a4c8 (patch)
tree28b7188073d9d8c30c3398fab31b9b5ddd7cee59 /js/panels/css-panel
parent16fc335a6fdf8582f1e6bde6ac73bb6a57b38834 (diff)
downloadninja-1792d1f72889bfb4c48d32d950d3b680abf0a4c8.tar.gz
Minor fix - Prevent montage binding warning
Diffstat (limited to 'js/panels/css-panel')
-rw-r--r--js/panels/css-panel/style-declaration.reel/style-declaration.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.js b/js/panels/css-panel/style-declaration.reel/style-declaration.js
index c679783e..5aae9c6e 100644
--- a/js/panels/css-panel/style-declaration.reel/style-declaration.js
+++ b/js/panels/css-panel/style-declaration.reel/style-declaration.js
@@ -88,7 +88,8 @@ exports.StyleDeclaration = Montage.create(Component, {
88 stylesArray.forEach(function(prop, index) { 88 stylesArray.forEach(function(prop, index) {
89 this.styles.push({ 89 this.styles.push({
90 name: prop, 90 name: prop,
91 value: dec.getPropertyValue(prop) 91 value: dec.getPropertyValue(prop),
92 isEmpty: false
92 }); 93 });
93 }, this); 94 }, this);
94 95
@@ -209,7 +210,8 @@ exports.StyleDeclaration = Montage.create(Component, {
209 value: function(property, value, data) { 210 value: function(property, value, data) {
210 var styleDescriptor = { 211 var styleDescriptor = {
211 name : property, 212 name : property,
212 value : value 213 value : value,
214 isEmpty: false
213 }, prop; 215 }, prop;
214 216
215 for(prop in data) { 217 for(prop in data) {