Lines Matching refs:fn
394 Popcorn.forEach = function( obj, fn, context ) { argument
396 if ( !obj || !fn ) {
406 return obj.forEach( fn, context );
411 fn.call( context, obj[ key ], key, obj );
418 fn.call( context, obj[ key ], key, obj );
559 singleEvent, item, fn, plugin;
564 for ( fn in singleEvent ) {
565 delete singleEvent[ fn ];
664 exec: function( id, time, fn ) { argument
688 fn = time;
723 fn = trackEvent._natives.start;
729 fn = time;
750 fn = fn || Popcorn.nop();
755 fn = time;
769 start: fn || Popcorn.nop,
797 fn: trackEvent._natives.start
801 fn: fn || Popcorn.nop
952 fn: {
981 listen: function( type, fn ) {
989 if ( typeof fn !== "function" ) {
1004 eventHook.add.call( this, {}, fn );
1014 tmp = fn;
1016 fn = function wrapper( event ) { function
1033 this.data.events[ type ].push( fn );
1051 unlisten: function( type, fn ) {
1059 if ( typeof fn === "string" ) {
1062 if ( events[ i ].name === fn ) {
1069 } else if ( typeof fn === "function" ) {
1071 ind = events.indexOf( fn );
1124 Popcorn.p[ key[ 0 ] ] = Popcorn.p[ key[ 1 ] ] = Popcorn.events.fn[ key[ 0 ] ];
2171 fn: plugin[ name ], property in entry
2191 function safeTry( fn, pluginName ) { argument
2196 return fn.apply( this, arguments );
2200 return fn.apply( this, arguments );
2207 source: fn.toString()