diff options
author | Valerio Virgillito | 2012-03-01 15:00:48 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-03-01 15:00:48 -0800 |
commit | 42d78d11764dca5df6c7d01f3221f398bee17152 (patch) | |
tree | e5c4ed2529de34ee1fae5da622563c78aa8b0ff7 /js/panels/properties/section.reel/section.js | |
parent | b09956e4a9a35c5588cc7cd1f01efb617cbe0884 (diff) | |
download | ninja-42d78d11764dca5df6c7d01f3221f398bee17152.tar.gz |
Squashed commit of the workspace-bugs
- Panels fixes.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/properties/section.reel/section.js')
-rwxr-xr-x | js/panels/properties/section.reel/section.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/js/panels/properties/section.reel/section.js b/js/panels/properties/section.reel/section.js deleted file mode 100755 index b246c171..00000000 --- a/js/panels/properties/section.reel/section.js +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | |||
10 | exports.Section = Montage.create(Component, { | ||
11 | |||
12 | name: { | ||
13 | value: "Panel" | ||
14 | }, | ||
15 | |||
16 | slot: { | ||
17 | value: null | ||
18 | }, | ||
19 | |||
20 | content: { | ||
21 | value: null | ||
22 | }, | ||
23 | |||
24 | prepareForDraw: { | ||
25 | value: function() { | ||
26 | this.element.getElementsByClassName("title")[0].innerHTML = this.name; | ||
27 | this.slot.content = this.content; | ||
28 | } | ||
29 | } | ||
30 | }); \ No newline at end of file | ||