aboutsummaryrefslogtreecommitdiff
path: root/js/components/controllers/tree-controller.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 11:10:00 -0800
committerValerio Virgillito2012-02-16 11:10:00 -0800
commit9aed3035ed7b0807ec198327ddd8305596331491 (patch)
treef95b0fa1ca064dd3b8c1d6c5637a4b5f8897f985 /js/components/controllers/tree-controller.js
parentd52aca45e0357b5597e13d9b74998abb75fabea5 (diff)
parent966f0adaf1d4b7f2dd5a6e31643df58bff713884 (diff)
downloadninja-9aed3035ed7b0807ec198327ddd8305596331491.tar.gz
Merge pull request #43 from ericguzman/TreeComponents
Tree components
Diffstat (limited to 'js/components/controllers/tree-controller.js')
-rw-r--r--js/components/controllers/tree-controller.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/components/controllers/tree-controller.js b/js/components/controllers/tree-controller.js
index 03ef7b9e..1e9222fd 100644
--- a/js/components/controllers/tree-controller.js
+++ b/js/components/controllers/tree-controller.js
@@ -28,7 +28,7 @@ var TreeController = exports.TreeController = Montage.create(ObjectController, /
28 }, 28 },
29 29
30 branchKey : { 30 branchKey : {
31 value: 'children' 31 value: null
32 }, 32 },
33 33
34 _root : { 34 _root : {
@@ -98,7 +98,8 @@ var TreeController = exports.TreeController = Montage.create(ObjectController, /
98 }, 98 },
99 99
100 branchControllers: { 100 branchControllers: {
101 value: [] 101 value: [],
102 distinct: true
102 }, 103 },
103 104
104 addBranchController : { 105 addBranchController : {