From 1792d1f72889bfb4c48d32d950d3b680abf0a4c8 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 18 May 2012 11:17:15 -0700 Subject: Minor fix - Prevent montage binding warning --- js/panels/css-panel/style-declaration.reel/style-declaration.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js/panels') 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, { stylesArray.forEach(function(prop, index) { this.styles.push({ name: prop, - value: dec.getPropertyValue(prop) + value: dec.getPropertyValue(prop), + isEmpty: false }); }, this); @@ -209,7 +210,8 @@ exports.StyleDeclaration = Montage.create(Component, { value: function(property, value, data) { var styleDescriptor = { name : property, - value : value + value : value, + isEmpty: false }, prop; for(prop in data) { -- cgit v1.2.3