From 10e4712ea5cf44041668dce9e767cb875ed53784 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 12 Mar 2012 15:23:51 -0700 Subject: CSS Panel Update - Styles View container update --- .../styles-view-container.html | 35 +++++----------------- 1 file changed, 7 insertions(+), 28 deletions(-) (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.html') 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 97c7c889..e8ddb139 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 @@ -15,7 +15,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name" : "StylesViewContainer", "properties" : { "element" : {"#" : "container"}, - "ruleList": {"@": "ruleList" } + "ruleListContainer": {"@": "ruleListContainer" }, + "substitution": {"@": "substitution" } } }, "substitution": { @@ -24,7 +25,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "properties": { "element": {"#": "sub-panel-slot"}, "switchComponents": { - "rules": {"@": "ruleList"}, + "rules": {"@": "ruleListContainer"}, "computed": {"@": "computedStyleView"} } }, @@ -36,35 +37,13 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } } }, - "ruleList": { - "module" : "js/panels/css-panel/rule-list.reel", - "name": "RuleList", - "properties": { - "supportedRules" : { - "1" : {"@": "css-style-rule"}, - "3" : {"@": "css-import-rule"}, - "4" : {"@": "css-media-rule"}, - "5" : {"@": "css-font-face-rule"}, - "6" : {"@": "css-page-rule"}, - "10" : {"@": "namespace-rule"} - } - }, - "bindings": { - "contentController" : { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "contentController", - "oneway": true - } - } - }, - "css-style-rule": { - "module": "js/panels/css-panel/rule-components/css-style-rule.reel", - "name": "CssStyleRule" + "ruleListContainer": { + "module": "js/panels/css-panel/rule-list-container.reel", + "name": "RuleListContainer" }, "computedStyleView": { "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", - "name": "ComputedStyleSubPanel", - "properties": { } + "name": "ComputedStyleSubPanel" }, "toolbar": { "module": "js/components/toolbar.reel", -- cgit v1.2.3