From 0471dfa2f8752e1c6225d68a69ec311117e6cf3f Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 29 Sep 2013 09:53:05 -0700 Subject: [PATCH] Update vendor/qunit-clib to avoid `logInline` when running on Windows. --- vendor/qunit-clib/qunit-clib.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/qunit-clib/qunit-clib.js b/vendor/qunit-clib/qunit-clib.js index acf368f7b..f43ff6c04 100644 --- a/vendor/qunit-clib/qunit-clib.js +++ b/vendor/qunit-clib/qunit-clib.js @@ -132,7 +132,8 @@ */ var logInline = (function() { // 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() {}; } // cleanup any inline logs when exited via `ctrl+c` @@ -172,7 +173,7 @@ console.log(' Finished in ' + details.runtime + ' milliseconds.'); console.log(hr); - // exit out of Narhwal, Rhino, or Ringo + // exit out of Narhwal, Rhino, or RingoJS try { quit(); } catch(e) { }