-}, function(name, fn){
- jQuery.fn[ name ] = function(val, state){
- if( jQuery.isFunction( val ) ) {
- return this.each(function() { jQuery(this)[ name ]( val.call(this), state ); });
+}, function( name, fn ) {
+ jQuery.fn[ name ] = function( val, state ) {
+ if ( jQuery.isFunction( val ) ) {
+ return this.each(function() {
+ jQuery(this)[ name ]( val.call(this), state );
+ });