diff options
author | Eric Guzman | 2012-02-15 21:53:24 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-15 21:53:24 -0800 |
commit | 966f0adaf1d4b7f2dd5a6e31643df58bff713884 (patch) | |
tree | beaf5b655d6d79895ee949d52b0b205fafbd8a53 /js/components/controllers | |
parent | 8195f0c948f145b5883dd7298649ef24b7e941ae (diff) | |
download | ninja-966f0adaf1d4b7f2dd5a6e31643df58bff713884.tar.gz |
Tree controller - Minor change (to use "distinct" descriptor)
Diffstat (limited to 'js/components/controllers')
-rw-r--r-- | js/components/controllers/tree-controller.js | 5 |
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 : { |