From 0e1a276f19ea70009c5a649e9667861d7c346a7e Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 6 Jun 2012 00:25:27 -0700 Subject: first iteration of adding serializable to ninja plus other changes to run the latest montage Signed-off-by: Valerio Virgillito --- .../rect-properties.reel/rect-properties.js | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'js/components/tools-properties/rect-properties.reel/rect-properties.js') diff --git a/js/components/tools-properties/rect-properties.reel/rect-properties.js b/js/components/tools-properties/rect-properties.reel/rect-properties.js index 2f8ea4dd..94c674a2 100755 --- a/js/components/tools-properties/rect-properties.reel/rect-properties.js +++ b/js/components/tools-properties/rect-properties.reel/rect-properties.js @@ -8,12 +8,20 @@ var Montage = require("montage/core/core").Montage, ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; exports.RectProperties = Montage.create(ToolProperties, { - base: { value: null }, - lockButton: { value: null, enumerable: false}, - TLRadiusControl: { value: null, enumerable: false }, - TRRadiusControl: { value: null, enumerable: false }, - BLRadiusControl: { value: null, enumerable: false }, - BRRadiusControl: { value: null, enumerable: false }, + base: { + value: null, + serializable: true + }, + + lockButton: { + value: null, + serializable: true + }, + + TLRadiusControl: { value: null, serializable: true }, + TRRadiusControl: { value: null, serializable: true }, + BLRadiusControl: { value: null, serializable: true }, + BRRadiusControl: { value: null, serializable: true }, _unlocked: { value: false, enumerable: false}, -- cgit v1.2.3