From 418af7351e045057fe1ed5754689df5493365d5f Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 10 May 2017 04:29:42 +0100 Subject: [PATCH] Fixed EaseMap. --- v3/src/math/easing/EaseMap.js | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/v3/src/math/easing/EaseMap.js b/v3/src/math/easing/EaseMap.js index a01fac14e..94e810a5c 100644 --- a/v3/src/math/easing/EaseMap.js +++ b/v3/src/math/easing/EaseMap.js @@ -13,30 +13,30 @@ var Sine = require('./Sine'); // EaseMap module.exports = { - 'Power0': Linear.None, - 'Power1': Quadratic.Out, - 'Power2': Cubic.Out, - 'Power3': Quartic.Out, - 'Power4': Quintic.Out, + Power0: Linear.None, + Power1: Quadratic.Out, + Power2: Cubic.Out, + Power3: Quartic.Out, + Power4: Quintic.Out, - 'Linear': Linear.None, - 'Quad': Quadratic.Out, - 'Cubic': Cubic.Out, - 'Quart': Quartic.Out, - 'Quint': Quintic.Out, - 'Sine': Sinusoidal.Out, - 'Expo': Exponential.Out, - 'Circ': Circular.Out, - 'Elastic': Elastic.Out, - 'Back': Back.Out, - 'Bounce': Bounce.Out, + Linear: Linear.None, + Quad: Quadratic.Out, + Cubic: Cubic.Out, + Quart: Quartic.Out, + Quint: Quintic.Out, + Sine: Sine.Out, + Expo: Expo.Out, + Circ: Circular.Out, + Elastic: Elastic.Out, + Back: Back.Out, + Bounce: Bounce.Out, 'Quad.easeIn': Quadratic.In, 'Cubic.easeIn': Cubic.In, 'Quart.easeIn': Quartic.In, 'Quint.easeIn': Quintic.In, - 'Sine.easeIn': Sinusoidal.In, - 'Expo.easeIn': Exponential.In, + 'Sine.easeIn': Sine.In, + 'Expo.easeIn': Expo.In, 'Circ.easeIn': Circular.In, 'Elastic.easeIn': Elastic.In, 'Back.easeIn': Back.In, @@ -46,8 +46,8 @@ module.exports = { 'Cubic.easeOut': Cubic.Out, 'Quart.easeOut': Quartic.Out, 'Quint.easeOut': Quintic.Out, - 'Sine.easeOut': Sinusoidal.Out, - 'Expo.easeOut': Exponential.Out, + 'Sine.easeOut': Sine.Out, + 'Expo.easeOut': Expo.Out, 'Circ.easeOut': Circular.Out, 'Elastic.easeOut': Elastic.Out, 'Back.easeOut': Back.Out, @@ -57,8 +57,8 @@ module.exports = { 'Cubic.easeInOut': Cubic.InOut, 'Quart.easeInOut': Quartic.InOut, 'Quint.easeInOut': Quintic.InOut, - 'Sine.easeInOut': Sinusoidal.InOut, - 'Expo.easeInOut': Exponential.InOut, + 'Sine.easeInOut': Sine.InOut, + 'Expo.easeInOut': Expo.InOut, 'Circ.easeInOut': Circular.InOut, 'Elastic.easeInOut': Elastic.InOut, 'Back.easeInOut': Back.InOut,