mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-05 15:10:59 +00:00
changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically.
This commit is contained in:
parent
d01da49798
commit
42bcd90a47
1 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
(function( $, window, undefined ) {
|
||||
|
||||
function fadeOutInTransitionHandler( name, reverse, $to, $from ) {
|
||||
function outInTransitionHandler( name, reverse, $to, $from ) {
|
||||
|
||||
var deferred = new $.Deferred(),
|
||||
reverseClass = reverse ? " reverse" : "",
|
||||
|
|
@ -80,11 +80,11 @@ function fadeOutInTransitionHandler( name, reverse, $to, $from ) {
|
|||
}
|
||||
|
||||
// Make our transition handler public.
|
||||
$.mobile.fadeOutInTransitionHandler = fadeOutInTransitionHandler;
|
||||
$.mobile.outInTransitionHandler = outInTransitionHandler;
|
||||
|
||||
// If the default transition handler is the 'none' handler, replace it with our handler.
|
||||
if ( $.mobile.defaultTransitionHandler === $.mobile.noneTransitionHandler ) {
|
||||
$.mobile.defaultTransitionHandler = fadeOutInTransitionHandler;
|
||||
$.mobile.defaultTransitionHandler = outInTransitionHandler;
|
||||
}
|
||||
|
||||
})( jQuery, this );
|
||||
|
|
|
|||
Loading…
Reference in a new issue