diff options
Diffstat (limited to 'js/panels/css-panel/rule-components')
-rw-r--r-- | js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html | 40 |
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 | } |