Lines Matching defs:fn

73 		return new jQuery.fn.init( selector, context );
89 jQuery.fn = jQuery.prototype = {
174 jQuery.extend = jQuery.fn.extend = function() {
530 proxy: function( fn, context ) {
534 tmp = fn[ context ];
535 context = fn;
536 fn = tmp;
541 if ( !jQuery.isFunction( fn ) ) {
548 return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
552 proxy.guid = fn.guid = fn.guid || jQuery.guid++;
918 * @param {Function} fn The function to mark
920 function markFunction( fn ) {
921 fn[ expando ] = true;
922 return fn;
927 * @param {Function} fn Passed the created div and expects a boolean result
929 function assert( fn ) {
933 return !!fn( div );
1013 * @param {Function} fn
1015 function createPositionalPseudo( fn ) {
1020 matchIndexes = fn( [], seed.length, argument ),
1480 var fn = Expr.attrHandle[ name.toLowerCase() ],
1482 val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
1483 fn( elem, name, !documentIsHTML ) :
1802 fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
1808 if ( fn[ expando ] ) {
1809 return fn( argument );
1813 if ( fn.length > 1 ) {
1818 matched = fn( seed, argument ),
1826 return fn( elem, 0, args );
1830 return fn;
2715 jQuery.fn.extend({
2776 init = jQuery.fn.init = function( selector, context ) {
2882 init.prototype = jQuery.fn;
2924 jQuery.fn.extend({
3050 }, function( name, fn ) {
3051 jQuery.fn[ name ] = function( until, selector ) {
3052 var ret = jQuery.map( this, fn, until );
3222 has: function( fn ) {
3223 return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );
3302 var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
3305 var returned = fn && fn.apply( this, arguments );
3312 newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
3426 jQuery.fn.ready = function( fn ) {
3428 jQuery.ready.promise().done( fn );
3475 if ( jQuery.fn.triggerHandler ) {
3924 jQuery.fn.extend({
4011 fn = queue.shift(),
4018 if ( fn === "inprogress" ) {
4019 fn = queue.shift();
4023 if ( fn ) {
4033 fn.call( elem, next, hooks );
4053 jQuery.fn.extend({
4134 var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
4143 jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
4157 fn.call( elems, value );
4158 fn = null;
4162 bulk = fn;
4163 fn = function( elem, key, value ) {
4169 if ( fn ) {
4171 fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
4181 fn.call( elems ) :
4182 length ? fn( elems[0], key ) : emptyGet;
4341 // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
5197 jQuery.fn.extend({
5199 on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
5216 if ( data == null && fn == null ) {
5217 // ( types, fn )
5218 fn = selector;
5220 } else if ( fn == null ) {
5222 // ( types, selector, fn )
5223 fn = data;
5226 // ( types, data, fn )
5227 fn = data;
5232 if ( fn === false ) {
5233 fn = returnFalse;
5234 } else if ( !fn ) {
5239 origFn = fn;
5240 fn = function( event ) {
5246 fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
5249 jQuery.event.add( this, types, fn, data, selector );
5252 one: function( types, selector, data, fn ) {
5253 return this.on( types, selector, data, fn, 1 );
5255 off: function( types, selector, fn ) {
5275 // ( types [, fn] )
5276 fn = selector;
5279 if ( fn === false ) {
5280 fn = returnFalse;
5283 jQuery.event.remove( this, types, fn, selector );
5748 jQuery.fn.extend({
6007 jQuery.fn[ name ] = function( selector ) {
6885 jQuery.fn.extend({
7453 jQuery.speed = function( speed, easing, fn ) {
7455 complete: fn || !fn && easing ||
7458 easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
7485 jQuery.fn.extend({
7606 var cssFn = jQuery.fn[ name ];
7607 jQuery.fn[ name ] = function( speed, easing, callback ) {
7623 jQuery.fn[ name ] = function( speed, easing, callback ) {
7682 jQuery.fn.delay = function( time, type ) {
7753 jQuery.fn.extend({
7931 jQuery.fn.extend({
8191 jQuery.fn.extend({
8320 jQuery.fn.extend({
8478 jQuery.fn[ name ] = function( data, fn ) {
8480 this.on( name, null, data, fn ) :
8485 jQuery.fn.extend({
8490 bind: function( types, data, fn ) {
8491 return this.on( types, null, data, fn );
8493 unbind: function( types, fn ) {
8494 return this.off( types, null, fn );
8497 delegate: function( selector, types, data, fn ) {
8498 return this.on( types, selector, data, fn );
8500 undelegate: function( selector, types, fn ) {
8501 // ( namespace ) or ( selector, types [, fn] )
8502 return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );
9384 jQuery.fn.extend({
9536 jQuery.fn.extend({
9967 var _load = jQuery.fn.load;
9972 jQuery.fn.load = function( url, params, callback ) {
10034 jQuery.fn[ type ] = function( fn ) {
10035 return this.on( type, fn );
10043 return jQuery.grep(jQuery.timers, function( fn ) {
10044 return elem === fn.elem;
10112 jQuery.fn.extend({
10203 jQuery.fn[ method ] = function( val ) {
10226 // Add the top/left cssHooks using jQuery.fn.position
10249 jQuery.fn[ funcName ] = function( margin, value ) {
10289 jQuery.fn.size = function() {
10293 jQuery.fn.andSelf = jQuery.fn.addBack;