|
@ -115,7 +115,7 @@ $.fn.shape = function(parameters) { |
|
|
module.reset(); |
|
|
module.reset(); |
|
|
module.set.active(); |
|
|
module.set.active(); |
|
|
}; |
|
|
}; |
|
|
$.proxy(settings.beforeChange, $nextSide[0])(); |
|
|
|
|
|
|
|
|
settings.beforeChange.call($nextSide.get()); |
|
|
if(module.get.transitionEvent()) { |
|
|
if(module.get.transitionEvent()) { |
|
|
module.verbose('Starting CSS animation'); |
|
|
module.verbose('Starting CSS animation'); |
|
|
$module |
|
|
$module |
|
@ -260,7 +260,7 @@ $.fn.shape = function(parameters) { |
|
|
$nextSide |
|
|
$nextSide |
|
|
.addClass(className.active) |
|
|
.addClass(className.active) |
|
|
; |
|
|
; |
|
|
$.proxy(settings.onChange, $nextSide[0])(); |
|
|
|
|
|
|
|
|
settings.onChange.call($nextSide.get()); |
|
|
module.set.defaultSide(); |
|
|
module.set.defaultSide(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|