From 46fb960d801d4d5493f520bd16ec319e7d26f69e Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:12 -0500 Subject: [PATCH] =?UTF-8?q?Revert=20"VMM.Library.animate():=20don=E2=80=99?= =?UTF-8?q?t=20churn=20object=20copies"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5c4edc9502d282da0b2b5bd1cdec95764dcfa53c. --- source/js/Core/Core/VMM.Library.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 25d8223..1b4a088 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -446,8 +446,8 @@ if(typeof VMM != 'undefined') { var _ease = "easein", _que = false, _duration = 1000, - _att; - + _att = {}; + if (duration != null) { if (duration < 1) { _duration = 1; @@ -467,9 +467,9 @@ if(typeof VMM != 'undefined') { if (att != null) { - _att = att; + _att = att } else { - _att = {opacity: 0}; + _att = {opacity: 0} } if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) {