From 1c3da2901f454ad2c18e20216bb2517740a1c080 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 22 May 2012 14:28:00 -0700 Subject: CSS Panel - Update components to use new serialization format --- js/panels/css-panel/css-panel-container.js | 2 +- js/panels/css-panel/css-panel.reel/css-panel.html | 21 ++++-------- js/panels/css-panel/css-panel.reel/css-panel.js | 2 +- js/panels/css-panel/css-style.reel/css-style.html | 32 +++++------------ .../css-style-rule.reel/css-style-rule.html | 40 ++++++---------------- .../rule-list-container.html | 11 +++--- js/panels/css-panel/rule-list.reel/rule-list.html | 3 +- .../style-declaration.reel/style-declaration.html | 35 ++++--------------- .../css-panel/style-sheet.reel/style-sheet.html | 24 ++++--------- .../style-sheets-view.reel/style-sheets-view.html | 18 ++-------- .../styles-view-container.html | 24 ++++--------- js/panels/css-panel/styles-view-delegate.js | 2 +- 12 files changed, 57 insertions(+), 157 deletions(-) (limited to 'js/panels/css-panel') diff --git a/js/panels/css-panel/css-panel-container.js b/js/panels/css-panel/css-panel-container.js index 6110c999..08673309 100644 --- a/js/panels/css-panel/css-panel-container.js +++ b/js/panels/css-panel/css-panel-container.js @@ -6,7 +6,7 @@ var Montage = require("montage/core/core").Montage; var PanelBase = require("js/panels/PanelBase").PanelBase; -var Content = require("js/panels/css-panel/css-panel.reel").CSSPanelNew; +var Content = require("js/panels/css-panel/css-panel.reel").CssPanel; exports.CSSPanelContainer = Montage.create(PanelBase, { panelName : { value: "CSS Panel" }, diff --git a/js/panels/css-panel/css-panel.reel/css-panel.html b/js/panels/css-panel/css-panel.reel/css-panel.html index 54bb1fae..42dca8a2 100644 --- a/js/panels/css-panel/css-panel.reel/css-panel.html +++ b/js/panels/css-panel/css-panel.reel/css-panel.html @@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
+

Style Sheets

-
+

Styles

-
+
\ No newline at end of file diff --git a/js/panels/css-panel/css-panel.reel/css-panel.js b/js/panels/css-panel/css-panel.reel/css-panel.js index 4a2062af..a117787e 100644 --- a/js/panels/css-panel/css-panel.reel/css-panel.js +++ b/js/panels/css-panel/css-panel.reel/css-panel.js @@ -7,7 +7,7 @@ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; -exports.CSSPanelNew = Montage.create(Component, { +exports.CssPanel = Montage.create(Component, { prepareForDraw : { value: function() { } diff --git a/js/panels/css-panel/css-style.reel/css-style.html b/js/panels/css-panel/css-style.reel/css-style.html index c4b6dd59..00cebf39 100644 --- a/js/panels/css-panel/css-style.reel/css-style.html +++ b/js/panels/css-panel/css-style.reel/css-style.html @@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
+
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 @@ -46,6 +43,6 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
+
\ No newline at end of file diff --git a/js/panels/css-panel/rule-list.reel/rule-list.html b/js/panels/css-panel/rule-list.reel/rule-list.html index c11e488d..67b17f48 100644 --- a/js/panels/css-panel/rule-list.reel/rule-list.html +++ b/js/panels/css-panel/rule-list.reel/rule-list.html @@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot