diff options
author | Armen Kesablyan | 2012-05-11 15:03:10 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-11 15:03:22 -0700 |
commit | c80e7df1702dff09b5cc8447ab0619747fed2024 (patch) | |
tree | ed45ae752fd1427e03e39d8174df44de00a45f83 /js/panels/Panel.reel | |
parent | e3efa52c409ef05c28bfc5f1f25a750b5132c3bd (diff) | |
download | ninja-c80e7df1702dff09b5cc8447ab0619747fed2024.tar.gz |
created the initial environment requirements for workspace to be manipulated.
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/panels/Panel.reel')
-rwxr-xr-x | js/panels/Panel.reel/Panel.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/panels/Panel.reel/Panel.js b/js/panels/Panel.reel/Panel.js index 613bef4b..bd9b4e2f 100755 --- a/js/panels/Panel.reel/Panel.js +++ b/js/panels/Panel.reel/Panel.js | |||
@@ -13,6 +13,10 @@ exports.Panel = Montage.create(Component, { | |||
13 | value: "Panel" | 13 | value: "Panel" |
14 | }, | 14 | }, |
15 | 15 | ||
16 | groups: { | ||
17 | value: [] | ||
18 | }, | ||
19 | |||
16 | _collapsed: { | 20 | _collapsed: { |
17 | value: false | 21 | value: false |
18 | }, | 22 | }, |
@@ -119,6 +123,12 @@ exports.Panel = Montage.create(Component, { | |||
119 | this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); | 123 | this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); |
120 | } | 124 | } |
121 | 125 | ||
126 | if(this.groups) { | ||
127 | this.groups.forEach(function(className) { | ||
128 | this.element.classList.add(className); | ||
129 | }.bind(this)); | ||
130 | } | ||
131 | |||
122 | if(this.modulePath && this.moduleName) { | 132 | if(this.modulePath && this.moduleName) { |
123 | // Load the slot content | 133 | // Load the slot content |
124 | var that = this; | 134 | var that = this; |