1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00

fix run-qunit

This commit is contained in:
Régis Hanol 2013-11-02 00:22:25 +01:00
parent b56b11d96a
commit a65a063a96

@ -8,12 +8,8 @@ if (args.length < 1 || args.length > 2) {
phantom.exit(1); phantom.exit(1);
} }
var fs = require('fs'); var system = require("system"),
function print(str) { page = require('webpage').create();
fs.write('/dev/stdout', str, 'w');
}
var page = require('webpage').create();
page.onConsoleMessage = function(msg) { page.onConsoleMessage = function(msg) {
if (msg.slice(0,8) === 'WARNING:') { return; } if (msg.slice(0,8) === 'WARNING:') { return; }