@@ -414,7 +414,7 @@ jQuery(function($, undefined) {
414414 // - prm: Parameter to be used in callback
415415 // return an array of all return of callbacks; keys are filters name
416416 _callFilters : function ( fct , prm ) {
417- this . getInternal ( ) . _debug ( fct ) ;
417+ this . getInternal ( ) . _debug ( fct , prm ) ;
418418 var ret = [ ] ,
419419 self = this ;
420420 $ . each ( this . filters , function ( i , f ) {
@@ -441,7 +441,7 @@ jQuery(function($, undefined) {
441441 // - fct: Animation function name
442442 // - clb: Callback once the animation is done
443443 _callAnim : function ( fct , clb ) {
444- this . getInternal ( ) . _debug ( fct ) ;
444+ this . getInternal ( ) . _debug ( fct , clb ) ;
445445 this . _callFilters ( 'before' + ucfirst ( fct ) ) ;
446446 if ( ! this . _animated ) {
447447 this . _animated = true ;
@@ -654,9 +654,9 @@ jQuery(function($, undefined) {
654654 return undefined ;
655655 } ,
656656
657- _debug : function ( msg ) {
657+ _debug : function ( ) {
658658 if ( this . debug && window . console && window . console . log )
659- window . console . log ( msg ) ;
659+ window . console . log . apply ( window . console , arguments ) ;
660660 } ,
661661
662662 _container : undefined ,
0 commit comments