diff options
author | Eric Guzman | 2012-02-07 13:35:27 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-07 13:35:27 -0800 |
commit | 18f687974273b5ed7374ca5ae440c797064c5d0f (patch) | |
tree | 07b3d15cf2daae062416e3824458dfd4ac79d2fa /js/panels/presets/transitions-presets.reel/transitions-presets.js | |
parent | c8c78a82aa4ec8ad8b53c6240f3b144ca113cf05 (diff) | |
download | ninja-18f687974273b5ed7374ca5ae440c797064c5d0f.tar.gz |
Presets Panel - Initial commit with panel content
Diffstat (limited to 'js/panels/presets/transitions-presets.reel/transitions-presets.js')
-rw-r--r-- | js/panels/presets/transitions-presets.reel/transitions-presets.js | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/js/panels/presets/transitions-presets.reel/transitions-presets.js b/js/panels/presets/transitions-presets.reel/transitions-presets.js new file mode 100644 index 00000000..bc91b3ad --- /dev/null +++ b/js/panels/presets/transitions-presets.reel/transitions-presets.js | |||
@@ -0,0 +1,67 @@ | |||
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 | Component = require("montage/ui/component").Component; | ||
9 | |||
10 | exports.TransitionsLibrary = Montage.create(Component, { | ||
11 | hasTemplate: { | ||
12 | value: true | ||
13 | }, | ||
14 | contentPanel : { | ||
15 | value: "presets" // get from local storage | ||
16 | }, | ||
17 | templateDidLoad : { | ||
18 | value: function() { | ||
19 | console.log('deserialized'); | ||
20 | } | ||
21 | }, | ||
22 | treeList : { | ||
23 | value : null | ||
24 | }, | ||
25 | data2: { | ||
26 | value: { | ||
27 | "meta": "Blah", | ||
28 | "status": "OK", | ||
29 | "text" : "Root", | ||
30 | "data" : { | ||
31 | "date": "1.1.01", | ||
32 | "text": "Transitions", | ||
33 | "children": [{ | ||
34 | "date": "3.3.01", | ||
35 | "text": "Kid 1" | ||
36 | }, | ||
37 | { | ||
38 | "date": "3.3.01", | ||
39 | "text": "Kid 2", | ||
40 | "children": [{ | ||
41 | "date": "3.4.01", | ||
42 | "text": "Grand Kid 1", | ||
43 | "children": [{ | ||
44 | "date": "4.4.01", | ||
45 | "text": "Great Grand Kid 1" | ||
46 | }] | ||
47 | }] | ||
48 | |||
49 | },{ | ||
50 | "date": "5.5.01", | ||
51 | "text": "Kid 3" | ||
52 | }] | ||
53 | } | ||
54 | } | ||
55 | }, | ||
56 | didDraw: { | ||
57 | value : function() { | ||
58 | console.log('Presets Panel prepare for draw.'); | ||
59 | // this.treeList.items.push({ | ||
60 | // label : "Box Style", | ||
61 | // type : 'leaf' | ||
62 | // }); | ||
63 | } | ||
64 | } | ||
65 | |||
66 | |||
67 | }); | ||