From a3024011a91d3941f81481dd4d600e9684eb0fd4 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 2 Feb 2012 00:11:51 -0800 Subject: upgrading to Montage v0.6 Signed-off-by: Valerio Virgillito --- node_modules/montage/ui/flow-path-linear.js | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'node_modules/montage/ui/flow-path-linear.js') diff --git a/node_modules/montage/ui/flow-path-linear.js b/node_modules/montage/ui/flow-path-linear.js index fa23d10b..b95ddb92 100644 --- a/node_modules/montage/ui/flow-path-linear.js +++ b/node_modules/montage/ui/flow-path-linear.js @@ -1,18 +1,12 @@ -/* -This file contains proprietary software owned by Motorola Mobility, Inc.
-No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
-(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. -
*/ - var Montage = require("montage").Montage; - + var FlowPathLinear = exports.FlowPathLinear = Montage.create(Montage, { - + _variable: { enumerable: false, value: "time" }, - + variable: { get: function () { return this._variable; @@ -29,12 +23,12 @@ var FlowPathLinear = exports.FlowPathLinear = Montage.create(Montage, { this._updatePath(); } }, - + _origin: { enumerable: false, value: 0 }, - + origin: { get: function () { return this._origin; @@ -49,7 +43,7 @@ var FlowPathLinear = exports.FlowPathLinear = Montage.create(Montage, { enumerable: false, value: 1 }, - + multiplier: { get: function () { return this._multiplier; @@ -59,12 +53,12 @@ var FlowPathLinear = exports.FlowPathLinear = Montage.create(Montage, { this._updatePath(); } }, - + _path: { enumerable: false, value: "0" }, - + path: { get: function () { return this._path; @@ -73,11 +67,11 @@ var FlowPathLinear = exports.FlowPathLinear = Montage.create(Montage, { this._path = value; } }, - + _updatePath: { enumerable: false, value: function () { this.path = "slide."+this._variable+"*("+this._multiplier+")-("+this._origin+")"; } } -}); \ No newline at end of file +}); -- cgit v1.2.3