From b62e8b8a5a20c53d7872d322389b049594119ac7 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 9 Feb 2015 13:19:50 -0500 Subject: [PATCH] Fix variable order causing bugs in invoke in transition --- src/definitions/modules/transition.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/transition.js b/src/definitions/modules/transition.js index 7e3c77cd8..5e5f85b35 100644 --- a/src/definitions/modules/transition.js +++ b/src/definitions/modules/transition.js @@ -71,8 +71,8 @@ $.fn.transition = function() { // define namespace eventNamespace = '.' + settings.namespace; - instance = $module.data(moduleNamespace) || module; moduleNamespace = 'module-' + settings.namespace; + instance = $module.data(moduleNamespace) || module; // get vendor specific events animationEnd = module.get.animationEndEvent(); @@ -93,6 +93,7 @@ $.fn.transition = function() { instantiate: function() { module.verbose('Storing instance of module', module); + instance = module; $module .data(moduleNamespace, instance) ;