bower_components/qunit/qunit/qunit.js
function registerLoggingCallbacks(obj) {
  	var i,
  	    l,
  	    key,
  	    callbackNames = ["begin", "done", "log", "testStart", "testDone", "moduleStart", "moduleDone"];

  	function registerLoggingCallback(key) {
  		var loggingCallback = function loggingCallback(callback) {
  			if (objectType(callback) !== "function") {
  				throw new Error("QUnit logging methods require a callback function as their first parameters.");
  			}

  			config.callbacks[key].push(callback);
  		};

  		return loggingCallback;
  	}

  	for (i = 0, l = callbackNames.length; i < l; i++) {
  		key = callbackNames[i];

  		// Initialize key collection of logging callback
  		if (objectType(config.callbacks[key]) === "undefined") {
  			config.callbacks[key] = [];
  		}

  		obj[key] = registerLoggingCallback(key);
  	}
  }
function registerLoggingCallbacks(obj) {
  	var i,
  	    l,
  	    key,
  	    callbackNames = ["begin", "done", "log", "testStart", "testDone", "moduleStart", "moduleDone"];

  	function registerLoggingCallback(key) {
  		var loggingCallback = function loggingCallback(callback) {
  			if (objectType(callback) !== "function") {
  				throw new Error("QUnit logging methods require a callback function as their first parameters.");
  			}

  			config.callbacks[key].push(callback);
  		};

  		return loggingCallback;
  	}

  	for (i = 0, l = callbackNames.length; i < l; i++) {
  		key = callbackNames[i];

  		// Initialize key collection of logging callback
  		if (objectType(config.callbacks[key]) === "undefined") {
  			config.callbacks[key] = [];
  		}

  		obj[key] = registerLoggingCallback(key);
  	}
  }
function registerLoggingCallbacks ( obj ) { var i , l , key , callbackNames = [ "begin" , "done" , "log" , "testStart" , "testDone" , "moduleStart" , "moduleDone" ] ; function registerLoggingCallback ( key ) { var loggingCallback = function loggingCallback ( callback ) { if ( objectType ( callback ) !== "function" ) { throw new Error ( "QUnit logging methods require a callback function as their first parameters." ) ; } config . callbacks [ key ] . push ( callback ) ; } ; return loggingCallback ; } for ( i = 0 , l = callbackNames . length ; i < l ; i ++ ) { key = callbackNames [ i ] ; // Initialize key collection of logging callback if ( objectType ( config . callbacks [ key ] ) === "undefined" ) { config . callbacks [ key ] = [ ] ; } obj [ key ] = registerLoggingCallback ( key ) ; } }
Register logging callbacks
Register logging callbacks