diff options
author | hwc487 | 2012-03-06 11:41:28 -0800 |
---|---|---|
committer | hwc487 | 2012-03-06 11:41:28 -0800 |
commit | 5e640e24c3b4658b8060cde837ae98dabd3ba5bf (patch) | |
tree | 527f183b5e485282ce1efe15d96b6b8ddc26801e /js/panels/properties.reel/section.reel/section.js | |
parent | 182f05f2f7a8f43f1589c9b8c15bf00d6e983676 (diff) | |
parent | 2815adfd7c19b3dff89dc3e1bda9af8d30dca8d6 (diff) | |
download | ninja-5e640e24c3b4658b8060cde837ae98dabd3ba5bf.tar.gz |
Merge branch 'TimelineUber' of github.com:imix23ways/ninja-internal into integration
Diffstat (limited to 'js/panels/properties.reel/section.reel/section.js')
-rwxr-xr-x | js/panels/properties.reel/section.reel/section.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/js/panels/properties.reel/section.reel/section.js b/js/panels/properties.reel/section.reel/section.js new file mode 100755 index 00000000..b246c171 --- /dev/null +++ b/js/panels/properties.reel/section.reel/section.js | |||
@@ -0,0 +1,30 @@ | |||
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 | ||