diff options
author | Jon Reid | 2012-06-15 10:10:41 -0700 |
---|---|---|
committer | Jon Reid | 2012-06-15 10:10:41 -0700 |
commit | 526ac54f73d53e1e2a3d6a4dbf4f9992c143baf7 (patch) | |
tree | 65939e59615aaa10a7db77211e71616ad531bd0e /js/components/treeview/ninja-branch.reel | |
parent | b5b760ee82e5cc4da176914983a6002cbf86c11a (diff) | |
parent | 5ee0c89fa0c7acc280ff3b884767e8513fd0b315 (diff) | |
download | ninja-526ac54f73d53e1e2a3d6a4dbf4f9992c143baf7.tar.gz |
Merge remote-tracking branch 'ninja-internal/master' into test-merge
Conflicts:
js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
js/panels/Timeline/TimelineTrack.reel/TimelineTrack.html
js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
Diffstat (limited to 'js/components/treeview/ninja-branch.reel')
-rw-r--r-- | js/components/treeview/ninja-branch.reel/ninja-branch.html | 2 | ||||
-rw-r--r-- | js/components/treeview/ninja-branch.reel/ninja-branch.js | 33 |
2 files changed, 32 insertions, 3 deletions
diff --git a/js/components/treeview/ninja-branch.reel/ninja-branch.html b/js/components/treeview/ninja-branch.reel/ninja-branch.html index 60894fbc..8b808488 100644 --- a/js/components/treeview/ninja-branch.reel/ninja-branch.html +++ b/js/components/treeview/ninja-branch.reel/ninja-branch.html | |||
@@ -105,7 +105,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
105 | "properties": { | 105 | "properties": { |
106 | "element": { "#": "branchList" }, | 106 | "element": { "#": "branchList" }, |
107 | "contentController": {"@": "arrayController" }, | 107 | "contentController": {"@": "arrayController" }, |
108 | "selectionEnabled": true | 108 | "isSelectionEnabled": true |
109 | } | 109 | } |
110 | }, | 110 | }, |
111 | 111 | ||
diff --git a/js/components/treeview/ninja-branch.reel/ninja-branch.js b/js/components/treeview/ninja-branch.reel/ninja-branch.js index 0d1a1d0e..72ef3ccd 100644 --- a/js/components/treeview/ninja-branch.reel/ninja-branch.js +++ b/js/components/treeview/ninja-branch.reel/ninja-branch.js | |||
@@ -8,12 +8,41 @@ var Montage = require("montage").Montage, | |||
8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; | 8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; |
9 | 9 | ||
10 | var Branch = exports.Branch = Montage.create(TreeNode, { | 10 | var Branch = exports.Branch = Montage.create(TreeNode, { |
11 | hasTemplate:{ | 11 | label: { |
12 | value:true | 12 | value: null |
13 | // serializable: true | ||
13 | }, | 14 | }, |
15 | |||
16 | branchList: { | ||
17 | value: null | ||
18 | // serializable: true | ||
19 | }, | ||
20 | |||
21 | arrayController: { | ||
22 | value: null | ||
23 | // serializable: true | ||
24 | }, | ||
25 | |||
14 | repetition:{ | 26 | repetition:{ |
15 | value: null | 27 | value: null |
28 | // serializable: true | ||
29 | }, | ||
30 | |||
31 | leafComponent: { | ||
32 | value: null | ||
33 | // serializable: true | ||
34 | }, | ||
35 | |||
36 | branchComponent: { | ||
37 | value: null | ||
38 | // serializable: true | ||
16 | }, | 39 | }, |
40 | |||
41 | collapser: { | ||
42 | value: null | ||
43 | // serializable: true | ||
44 | }, | ||
45 | |||
17 | prepareForDraw : { | 46 | prepareForDraw : { |
18 | value: function() { | 47 | value: function() { |
19 | this.collapser.removeAttribute('id'); | 48 | this.collapser.removeAttribute('id'); |