Update vendor/qunit-clib to avoid logInline when running on Windows.

This commit is contained in:
John-David Dalton
2013-09-29 09:53:05 -07:00
parent 7883e6544e
commit 0471dfa2f8

View File

@@ -132,7 +132,8 @@
*/ */
var logInline = (function() { var logInline = (function() {
// exit early if not Node.js // exit early if not Node.js
if (!(typeof process == 'object' && process && process.on && process.stdout)) { if (!(typeof process == 'object' && process &&
process.on && process.stdout && process.platform != 'win32')) {
return function() {}; return function() {};
} }
// cleanup any inline logs when exited via `ctrl+c` // cleanup any inline logs when exited via `ctrl+c`
@@ -172,7 +173,7 @@
console.log(' Finished in ' + details.runtime + ' milliseconds.'); console.log(' Finished in ' + details.runtime + ' milliseconds.');
console.log(hr); console.log(hr);
// exit out of Narhwal, Rhino, or Ringo // exit out of Narhwal, Rhino, or RingoJS
try { try {
quit(); quit();
} catch(e) { } } catch(e) { }