Browse Source

Fix variable order causing bugs in invoke in transition

pull/1785/head
jlukic 9 years ago
parent
commit
b62e8b8a5a
1 changed files with 2 additions and 1 deletions
  1. 3
      src/definitions/modules/transition.js

3
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)
;

Loading…
Cancel
Save