( key, scope, args )
| 1399 | |
| 1400 | // Supports deprecated method of completely overwriting logging callbacks |
| 1401 | function runLoggingCallbacks( key, scope, args ) { |
| 1402 | //debugger; |
| 1403 | var i, callbacks; |
| 1404 | if ( QUnit.hasOwnProperty( key ) ) { |
| 1405 | QUnit[ key ].call(scope, args ); |
| 1406 | } else { |
| 1407 | callbacks = config[ key ]; |
| 1408 | for ( i = 0; i < callbacks.length; i++ ) { |
| 1409 | callbacks[ i ].call( scope, args ); |
| 1410 | } |
| 1411 | } |
| 1412 | } |
| 1413 | |
| 1414 | // Test for equality any JavaScript type. |
| 1415 | // Author: Philippe Rathé <prathe@gmail.com> |