aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-12 11:21:21 -0700
committerValerio Virgillito2012-06-12 11:21:21 -0700
commit9d85430967237bd01334212de6f04db3bd222148 (patch)
treea6cb08ed28695c46c73b21a780b215661ba222de /js/panels/css-panel
parentc08220b45b9a22e87955671a5223c6c55b78053b (diff)
downloadninja-9d85430967237bd01334212de6f04db3bd222148.tar.gz
adding more missing properties to the serialization
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/css-panel')
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.js17
-rw-r--r--js/panels/css-panel/style-declaration.reel/style-declaration.js12
2 files changed, 29 insertions, 0 deletions
diff --git a/js/panels/css-panel/css-style.reel/css-style.js b/js/panels/css-panel/css-style.reel/css-style.js
index 29b3b34d..294d49a9 100644
--- a/js/panels/css-panel/css-style.reel/css-style.js
+++ b/js/panels/css-panel/css-style.reel/css-style.js
@@ -12,6 +12,23 @@ exports.CssStyle = Montage.create(Component, {
12 value: null 12 value: null
13 }, 13 },
14 14
15 addStyleButton: {
16 value: null,
17 serializable: true
18 },
19
20 propertyField: {
21 value: null
22 },
23
24 valueField: {
25 value: null
26 },
27
28 propertyNames: {
29 value: null
30 },
31
15 delegate : { value: null }, 32 delegate : { value: null },
16 disabledClass : { value: 'style-item-disabled' }, 33 disabledClass : { value: 'style-item-disabled' },
17 editingStyleClass : { value: 'edit-style-item' }, 34 editingStyleClass : { value: 'edit-style-item' },
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 6187989b..b9205ba7 100644
--- a/js/panels/css-panel/style-declaration.reel/style-declaration.js
+++ b/js/panels/css-panel/style-declaration.reel/style-declaration.js
@@ -9,6 +9,18 @@ var Montage = require("montage/core/core").Montage,
9 ShorthandProps = require("js/panels/CSSPanel/css-shorthand-map"); 9 ShorthandProps = require("js/panels/CSSPanel/css-shorthand-map");
10 10
11exports.StyleDeclaration = Montage.create(Component, { 11exports.StyleDeclaration = Montage.create(Component, {
12 arrayController: {
13 value: null
14 },
15
16 styleComponent: {
17 value: null
18 },
19
20 repetition: {
21 value: null
22 },
23
12 cssText : { value: null }, 24 cssText : { value: null },
13 focusDelegate : { value: null }, 25 focusDelegate : { value: null },
14 needsSort : { value: null }, 26 needsSort : { value: null },