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/panels/Resizer.js | |
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/panels/Resizer.js')
-rwxr-xr-x | js/panels/Resizer.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/js/panels/Resizer.js b/js/panels/Resizer.js index 0252c4fb..0f4c39f7 100755 --- a/js/panels/Resizer.js +++ b/js/panels/Resizer.js | |||
@@ -54,7 +54,8 @@ exports.Resizer = Montage.create(Component, { | |||
54 | }, | 54 | }, |
55 | set: function(val) { | 55 | set: function(val) { |
56 | this._isInversed = val; | 56 | this._isInversed = val; |
57 | } | 57 | }, |
58 | serializable: true | ||
58 | }, | 59 | }, |
59 | 60 | ||
60 | _isVertical: { | 61 | _isVertical: { |
@@ -67,7 +68,8 @@ exports.Resizer = Montage.create(Component, { | |||
67 | }, | 68 | }, |
68 | set: function(val) { | 69 | set: function(val) { |
69 | this._isVertical = val; | 70 | this._isVertical = val; |
70 | } | 71 | }, |
72 | serializable: true | ||
71 | }, | 73 | }, |
72 | 74 | ||
73 | _isPanel: { | 75 | _isPanel: { |
@@ -79,8 +81,10 @@ exports.Resizer = Montage.create(Component, { | |||
79 | }, | 81 | }, |
80 | set: function(value) { | 82 | set: function(value) { |
81 | this._isPanel = value; | 83 | this._isPanel = value; |
82 | } | 84 | }, |
85 | serializable: true | ||
83 | }, | 86 | }, |
87 | |||
84 | _panel : { | 88 | _panel : { |
85 | value: null | 89 | value: null |
86 | }, | 90 | }, |
@@ -92,7 +96,8 @@ exports.Resizer = Montage.create(Component, { | |||
92 | set: function(val) { | 96 | set: function(val) { |
93 | this._panel = val; | 97 | this._panel = val; |
94 | if(val._element) this._panel = val._element; | 98 | if(val._element) this._panel = val._element; |
95 | } | 99 | }, |
100 | serializable: true | ||
96 | }, | 101 | }, |
97 | 102 | ||
98 | height: { | 103 | height: { |