From b52222a0e165825bf507b4f69b33d51c84eb85d4 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 10 May 2012 15:11:40 -0700 Subject: CSS Panel - Fix errors from new Montage and remove logs. --- js/panels/css-panel/css-panel.reel/css-panel.js | 6 ------ .../rule-list-container.reel/rule-list-container.html | 18 ++++++++++++------ .../style-sheets-view.reel/style-sheets-view.html | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'js/panels/css-panel') 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 b6e9613b..4a2062af 100644 --- a/js/panels/css-panel/css-panel.reel/css-panel.js +++ b/js/panels/css-panel/css-panel.reel/css-panel.js @@ -8,18 +8,12 @@ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; exports.CSSPanelNew = Montage.create(Component, { - - prepareForDraw : { value: function() { - console.log("css panel : prepare for draw"); } }, draw : { value: function() { - console.log("css panel : draw. height: ", this.height); - - } } }); diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.html b/js/panels/css-panel/rule-list-container.reel/rule-list-container.html index 8f816d28..809f9bfe 100644 --- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.html +++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.html @@ -23,12 +23,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "properties": { "supportedRules" : { "inline": {"@": "cssStyleRule" }, - "1" : {"@": "cssStyleRule"}, - "3" : {"@": "cssImportRule"}, - "4" : {"@": "cssMediaRule"}, - "5" : {"@": "cssFontFaceRule"}, - "6" : {"@": "cssPageRule"}, - "10" : {"@": "namespaceRule"} + "1" : {"@": "cssStyleRule"} } } }, @@ -38,6 +33,17 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } } +
diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html index 484d3c04..d01d40e0 100644 --- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html +++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html @@ -120,13 +120,13 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
-

No style sheets to display.

-