MCPcopy
hub / github.com/playcanvas/engine / runLoggingCallbacks

Function runLoggingCallbacks

tests/qunit/qunit.js:1401–1412  ·  view source on GitHub ↗
( key, scope, args )

Source from the content-addressed store, hash-verified

1399
1400// Supports deprecated method of completely overwriting logging callbacks
1401function 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>

Callers 2

qunit.jsFile · 0.85
doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected