( args )
| 1033 | firingIndex, |
| 1034 | // Add one or several callbacks to the list |
| 1035 | add = function( args ) { |
| 1036 | var i, |
| 1037 | length, |
| 1038 | elem, |
| 1039 | type, |
| 1040 | actual; |
| 1041 | for ( i = 0, length = args.length; i < length; i++ ) { |
| 1042 | elem = args[ i ]; |
| 1043 | type = jQuery.type( elem ); |
| 1044 | if ( type === "array" ) { |
| 1045 | // Inspect recursively |
| 1046 | add( elem ); |
| 1047 | } else if ( type === "function" ) { |
| 1048 | // Add if not in unique mode and callback is not in |
| 1049 | if ( !flags.unique || !self.has( elem ) ) { |
| 1050 | list.push( elem ); |
| 1051 | } |
| 1052 | } |
| 1053 | } |
| 1054 | }, |
| 1055 | // Fire callbacks |
| 1056 | fire = function( context, args ) { |
| 1057 | args = args || []; |
no outgoing calls
no test coverage detected