aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
diff options
context:
space:
mode:
authorEric Guzman2012-05-22 14:28:00 -0700
committerEric Guzman2012-05-22 14:28:00 -0700
commit1c3da2901f454ad2c18e20216bb2517740a1c080 (patch)
treef91f102be89eb01362da1a7d209deecb98b413a9 /js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
parent70a85334144a9516fdec7b09eb5c9856230d12f1 (diff)
downloadninja-1c3da2901f454ad2c18e20216bb2517740a1c080.tar.gz
CSS Panel - Update components to use new serialization format
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html')
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html40
1 files changed, 10 insertions, 30 deletions
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
index 05ea669f..f203b61f 100644
--- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
@@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
11 <script type="text/montage-serialization"> 11 <script type="text/montage-serialization">
12 { 12 {
13 "owner": { 13 "owner": {
14 "module" : "js/panels/css-panel/rule-components/css-style-rule.reel", 14 "prototype" : "js/panels/css-panel/rule-components/css-style-rule.reel",
15 "name" : "CssStyleRule",
16 "properties" : { 15 "properties" : {
17 "element" : {"#" : "rule-item"}, 16 "element" : {"#" : "rule-item"},
18 "selectorField": {"@": "selector"}, 17 "selectorField": {"@": "selector"},
@@ -20,56 +19,37 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
20 } 19 }
21 }, 20 },
22 "sheetName": { 21 "sheetName": {
23 "module": "montage/ui/dynamic-text.reel", 22 "prototype": "montage/ui/dynamic-text.reel",
24 "name" : "DynamicText",
25 "properties": { 23 "properties": {
26 "element": {"#": "style-sheet-name"} 24 "element": {"#": "style-sheet-name"}
27 }, 25 },
28 "bindings": { 26 "bindings": {
29 "value" : { 27 "value" : {"<-": "@owner.sheetName" }
30 "boundObject": {"@": "owner"},
31 "boundObjectPropertyPath": "sheetName",
32 "oneway": true
33 }
34 } 28 }
35 }, 29 },
36 "selector": { 30 "selector": {
37 "module": "js/components/hintable.reel", 31 "prototype": "js/components/hintable.reel",
38 "name" : "Hintable",
39 "properties": { 32 "properties": {
40 "startOnEvent": "click", 33 "startOnEvent": "click",
41 "element": {"#": "rule-selector"} 34 "element": {"#": "rule-selector"}
42 }, 35 },
43 "bindings": { 36 "bindings": {
44 "value" : { 37 "value" : {"<<->":"@owner.selector" }
45 "boundObject": {"@": "owner"},
46 "boundObjectPropertyPath": "selector",
47 "oneway": true
48 }
49 } 38 }
50 }, 39 },
51 "declaration": { 40 "declaration": {
52 "module": "js/panels/css-panel/style-declaration.reel", 41 "prototype": "js/panels/css-panel/style-declaration.reel",
53 "name": "StyleDeclaration",
54 "properties": { 42 "properties": {
55 "element": {"#": "declaration-list"} 43 "element": {"#": "declaration-list"}
56 }, 44 },
57 "bindings": { 45 "bindings": {
58 "focusDelegate" : { 46 "focusDelegate" : {"<-": "@owner.focusDelegate" },
59 "boundObject": {"@": "owner"}, 47 "declaration" : {"<-": "@owner._declaration" }
60 "boundObjectPropertyPath": "focusDelegate", 48
61 "oneway": true
62 },
63 "declaration" : {
64 "boundObject": {"@": "owner"},
65 "boundObjectPropertyPath": "_declaration",
66 "oneway": true
67 }
68 } 49 }
69 }, 50 },
70 "sheetLink": { 51 "sheetLink": {
71 "module": "montage/ui/anchor.reel", 52 "prototype": "montage/ui/anchor.reel",
72 "name": "Anchor",
73 "properties": { 53 "properties": {
74 "element": {"#": "style-sheet-name"} 54 "element": {"#": "style-sheet-name"}
75 } 55 }