From 13ae16997d4bbca14e255d5989d1c44a76eac72c Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 16 May 2012 15:23:48 -0700 Subject: montage v.0.10 integration Signed-off-by: Valerio Virgillito --- node_modules/montage/ui/flow-path-cubic.js | 115 ----------------------------- 1 file changed, 115 deletions(-) delete mode 100644 node_modules/montage/ui/flow-path-cubic.js (limited to 'node_modules/montage/ui/flow-path-cubic.js') diff --git a/node_modules/montage/ui/flow-path-cubic.js b/node_modules/montage/ui/flow-path-cubic.js deleted file mode 100644 index ec4c6600..00000000 --- a/node_modules/montage/ui/flow-path-cubic.js +++ /dev/null @@ -1,115 +0,0 @@ -/* - 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 FlowPathCubic = exports.FlowPathCubic = Montage.create(Montage, { - - _variable: { - enumerable: false, - value: "time" - }, - - variable: { - get: function () { - return this._variable; - }, - set: function (value) { - switch (value) { - case "speed": - case "index": - this._variable = value; - break; - default: - this._variable = "time"; - } - this._updatePath(); - } - }, - - _a: { - enumerable: false, - value: 0 - }, - - a: { - get: function () { - return this._a; - }, - set: function (value) { - this._a = value; - this._updatePath(); - } - }, - - _b: { - enumerable: false, - value: 0 - }, - - b: { - get: function () { - return this._b; - }, - set: function (value) { - this._b = value; - this._updatePath(); - } - }, - - _c: { - enumerable: false, - value: 0 - }, - - c: { - get: function () { - return this._c; - }, - set: function (value) { - this._c = value; - this._updatePath(); - } - }, - - _d: { - enumerable: false, - value: 0 - }, - - d: { - get: function () { - return this._d; - }, - set: function (value) { - this._d = value; - this._updatePath(); - } - }, - - _path: { - enumerable: false, - value: "0" - }, - - path: { - get: function () { - return this._path; - }, - set: function (value) { - this._path = value; - } - }, - - _updatePath: { - enumerable: false, - value: function () { - var s = "slide."+this._variable; - - this.path = "("+this._a+")*"+s+"*"+s+"*"+s+"+("+this._b+")*"+s+"*"+s+"+("+this._c+")*"+s+"+("+this._d+")"; - } - } -}); -- cgit v1.2.3