diff options
author | Armen Kesablyan | 2012-06-19 00:45:26 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-19 00:45:26 -0700 |
commit | c59eb371559a3061ce53223e249ca97daace5968 (patch) | |
tree | f9540e26c0f273d35f92010605da65dd85bbe70c /js/components/treeview/ninja-branch.reel/ninja-branch.js | |
parent | 0f040acabfb7a4bf3138debec5aff869487ceb11 (diff) | |
parent | 918a4f5870e972b6e4e301c3237e065a1ffd26f5 (diff) | |
download | ninja-c59eb371559a3061ce53223e249ca97daace5968.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'js/components/treeview/ninja-branch.reel/ninja-branch.js')
-rw-r--r-- | js/components/treeview/ninja-branch.reel/ninja-branch.js | 33 |
1 files changed, 31 insertions, 2 deletions
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'); |