diff options
author | Eric Guzman | 2012-05-22 14:28:00 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-22 14:28:00 -0700 |
commit | 1c3da2901f454ad2c18e20216bb2517740a1c080 (patch) | |
tree | f91f102be89eb01362da1a7d209deecb98b413a9 /js/panels/css-panel/styles-view-container.reel/styles-view-container.html | |
parent | 70a85334144a9516fdec7b09eb5c9856230d12f1 (diff) | |
download | ninja-1c3da2901f454ad2c18e20216bb2517740a1c080.tar.gz |
CSS Panel - Update components to use new serialization format
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.html')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.html | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.html b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html index 1dd83468..93ac3793 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.html +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.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/styles-view-container.reel", | 14 | "prototype" : "js/panels/css-panel/styles-view-container.reel", |
15 | "name" : "StylesViewContainer", | ||
16 | "properties" : { | 15 | "properties" : { |
17 | "element" : {"#" : "container"}, | 16 | "element" : {"#" : "container"}, |
18 | "ruleListContainer": {"@": "ruleListContainer" }, | 17 | "ruleListContainer": {"@": "ruleListContainer" }, |
@@ -23,8 +22,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
23 | } | 22 | } |
24 | }, | 23 | }, |
25 | "substitution": { | 24 | "substitution": { |
26 | "module": "montage/ui/substitution.reel", | 25 | "prototype": "montage/ui/substitution.reel", |
27 | "name": "Substitution", | ||
28 | "properties": { | 26 | "properties": { |
29 | "element": {"#": "sub-panel-slot"}, | 27 | "element": {"#": "sub-panel-slot"}, |
30 | "switchComponents": { | 28 | "switchComponents": { |
@@ -33,34 +31,26 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
33 | } | 31 | } |
34 | }, | 32 | }, |
35 | "bindings": { | 33 | "bindings": { |
36 | "switchValue": { | 34 | "switchValue": { "<-": "@owner.contentPanel" } |
37 | "boundObject": {"@": "owner"}, | ||
38 | "boundObjectPropertyPath": "contentPanel", | ||
39 | "oneway": true | ||
40 | } | ||
41 | } | 35 | } |
42 | }, | 36 | }, |
43 | "stylesViewDelegate" : { | 37 | "stylesViewDelegate" : { |
44 | "module": "js/panels/css-panel/styles-view-delegate", | 38 | "prototype": "js/panels/css-panel/styles-view-delegate", |
45 | "name": "StylesViewMediator", | ||
46 | "properties": { | 39 | "properties": { |
47 | "ruleListContainer": {"@": "ruleListContainer"} | 40 | "ruleListContainer": {"@": "ruleListContainer"} |
48 | } | 41 | } |
49 | }, | 42 | }, |
50 | "ruleListContainer": { | 43 | "ruleListContainer": { |
51 | "module": "js/panels/css-panel/rule-list-container.reel", | 44 | "prototype": "js/panels/css-panel/rule-list-container.reel", |
52 | "name": "RuleListContainer", | ||
53 | "properties": { | 45 | "properties": { |
54 | "focusDelegate": {"@": "stylesViewDelegate"} | 46 | "focusDelegate": {"@": "stylesViewDelegate"} |
55 | } | 47 | } |
56 | }, | 48 | }, |
57 | "computedStyleView": { | 49 | "computedStyleView": { |
58 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", | 50 | "prototype": "js/panels/CSSPanel/ComputedStyleSubPanel.reel" |
59 | "name": "ComputedStyleSubPanel" | ||
60 | }, | 51 | }, |
61 | "toolbar": { | 52 | "toolbar": { |
62 | "module": "js/components/toolbar.reel", | 53 | "prototype": "js/components/toolbar.reel", |
63 | "name": "Toolbar", | ||
64 | "properties": { | 54 | "properties": { |
65 | "element": {"#": "styles-view-toolbar"}, | 55 | "element": {"#": "styles-view-toolbar"}, |
66 | "delegate": {"@": "stylesViewDelegate" }, | 56 | "delegate": {"@": "stylesViewDelegate" }, |