From f7e4257745ccd44b8d24555f0ef787429d6e472c Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 5 Jun 2012 00:11:03 -0700 Subject: adding the latest v0.10 montage Signed-off-by: Valerio Virgillito --- node_modules/montage/ui/condition.reel/condition.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'node_modules/montage/ui/condition.reel') diff --git a/node_modules/montage/ui/condition.reel/condition.js b/node_modules/montage/ui/condition.reel/condition.js index 7553c14f..a1a421ab 100755 --- a/node_modules/montage/ui/condition.reel/condition.js +++ b/node_modules/montage/ui/condition.reel/condition.js @@ -26,7 +26,6 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond @default {Boolean} false */ hasTemplate: { - enumerable: false, value: false }, /** @@ -34,7 +33,6 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond @private */ _condition: { - enumerable: false, value: null }, /** @@ -43,7 +41,6 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond @default null */ condition: { - enumerable: false, set: function(value) { if (value === this._condition) { @@ -63,15 +60,15 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond }, get: function() { return this._condition; - } + }, + serializable: true }, /** @private */ _removalStrategy:{ - value: "remove", - enumerable:false + value: "remove" }, // TODO should this strategy be part of another class? @@ -89,7 +86,8 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond } this._removalStrategy = value; this.needsDraw = true; - } + }, + serializable: true }, prepareForDraw: { @@ -105,7 +103,6 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond @function */ draw: { - enumerable: false, value: function() { if (this.condition) { -- cgit v1.2.3