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/components/toolbar.reel/toolbar.js | 3 --- 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 ++++++------ 4 files changed, 18 insertions(+), 21 deletions(-) (limited to 'js') diff --git a/js/components/toolbar.reel/toolbar.js b/js/components/toolbar.reel/toolbar.js index dbff2db6..bc3cbd08 100644 --- a/js/components/toolbar.reel/toolbar.js +++ b/js/components/toolbar.reel/toolbar.js @@ -21,7 +21,6 @@ exports.Toolbar = Montage.create(Component, { set: function(btns) { this._buttons = btns; this._needsButtonProperties = true; - console.log("buttons set"); } }, @@ -64,7 +63,6 @@ exports.Toolbar = Montage.create(Component, { prepareForDraw : { value: function() { - console.log("toolbar - prepare for draw"); if(this._needsButtonProperties) { this.repetition.childComponents.forEach(function(button) { button.identifier = button.sourceObject.identifier; @@ -75,7 +73,6 @@ exports.Toolbar = Montage.create(Component, { }, draw : { value: function() { - console.log("toolbar - draw - repetition ", this.repetition); if(this._needsClass) { this.repetition.childComponents.forEach(function(button) { 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 -