( key, scope, args )
| 1158 | |
| 1159 | // Supports deprecated method of completely overwriting logging callbacks |
| 1160 | function runLoggingCallbacks( key, scope, args ) { |
| 1161 | var i, callbacks; |
| 1162 | if ( QUnit.hasOwnProperty( key ) ) { |
| 1163 | QUnit[ key ].call(scope, args ); |
| 1164 | } else { |
| 1165 | callbacks = config[ key ]; |
| 1166 | for ( i = 0; i < callbacks.length; i++ ) { |
| 1167 | callbacks[ i ].call( scope, args ); |
| 1168 | } |
| 1169 | } |
| 1170 | } |
| 1171 | |
| 1172 | // from jquery.js |
| 1173 | function inArray( elem, array ) { |