From 4979ee361a11225f19b991810ca8d8c429a22620 Mon Sep 17 00:00:00 2001
From: Eric Guzman
Date: Tue, 13 Mar 2012 15:51:17 -0700
Subject: CSS Panel - Add new panel to panel data
---
js/data/panels-data.js | 12 ++++++++++++
js/panels/PanelContainer.reel/PanelContainer.html | 11 ++++++++++-
js/panels/css-panel/css-panel.reel/css-panel.html | 2 +-
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/js/data/panels-data.js b/js/data/panels-data.js
index 2422f5e7..84ec9c3c 100644
--- a/js/data/panels-data.js
+++ b/js/data/panels-data.js
@@ -82,6 +82,18 @@ exports.PanelsData = Montage.create(Montage, {
modulePath: "js/panels/CSSPanel/CSSPanelBase.reel",
moduleName: "CSSPanelBase"
},
+ {
+ name: "CSSPanel",
+ height: 200,
+ minHeight: 200,
+ maxHeight: null,
+ flexible: true,
+ scrollable: false,
+ collapsed: false,
+ open: true,
+ modulePath: "js/panels/css-panel/css-panel.reel",
+ moduleName: "CSSPanelNew"
+ },
{
name: "Presets",
minHeight: 100,
diff --git a/js/panels/PanelContainer.reel/PanelContainer.html b/js/panels/PanelContainer.reel/PanelContainer.html
index 251e86e4..1561f973 100755
--- a/js/panels/PanelContainer.reel/PanelContainer.html
+++ b/js/panels/PanelContainer.reel/PanelContainer.html
@@ -61,6 +61,13 @@
"element": {"#": "panel_5"}
}
},
+ "panel_6": {
+ "module": "js/panels/Panel.reel",
+ "name": "Panel",
+ "properties": {
+ "element": {"#": "panel_6"}
+ }
+ },
"owner": {
"module": "js/panels/PanelContainer.reel",
@@ -74,7 +81,8 @@
"panel_2": {"@": "panel_2"},
"panel_3": {"@": "panel_3"},
"panel_4": {"@": "panel_4"},
- "panel_5": {"@": "panel_5"}
+ "panel_5": {"@": "panel_5"},
+ "panel_6": {"@": "panel_6"}
},
"listeners": [
{
@@ -104,6 +112,7 @@
+