diff options
author | Valerio Virgillito | 2012-06-06 00:25:27 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-06 00:25:27 -0700 |
commit | 0e1a276f19ea70009c5a649e9667861d7c346a7e (patch) | |
tree | 6db7675bbe89746ba47002bba306da42a7261312 /js/components/controllers | |
parent | f7e4257745ccd44b8d24555f0ef787429d6e472c (diff) | |
download | ninja-0e1a276f19ea70009c5a649e9667861d7c346a7e.tar.gz |
first iteration of adding serializable to ninja plus other changes to run the latest montage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/controllers')
-rw-r--r-- | js/components/controllers/tree-controller.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/js/components/controllers/tree-controller.js b/js/components/controllers/tree-controller.js index cb95ca1d..bc3d0860 100644 --- a/js/components/controllers/tree-controller.js +++ b/js/components/controllers/tree-controller.js | |||
@@ -30,7 +30,8 @@ var TreeController = exports.TreeController = Montage.create(ObjectController, / | |||
30 | }, | 30 | }, |
31 | set: function(value) { | 31 | set: function(value) { |
32 | this._delegate = value; | 32 | this._delegate = value; |
33 | } | 33 | }, |
34 | serializable: true | ||
34 | }, | 35 | }, |
35 | 36 | ||
36 | rootKey : { | 37 | rootKey : { |
@@ -38,7 +39,13 @@ var TreeController = exports.TreeController = Montage.create(ObjectController, / | |||
38 | }, | 39 | }, |
39 | 40 | ||
40 | branchKey : { | 41 | branchKey : { |
41 | value: null | 42 | value: null, |
43 | serializable: true | ||
44 | }, | ||
45 | |||
46 | labelKey: { | ||
47 | value: null, | ||
48 | serializable: true | ||
42 | }, | 49 | }, |
43 | 50 | ||
44 | _root : { | 51 | _root : { |