lib/boojs.rb in boojs-0.0.24 vs lib/boojs.rb in boojs-0.0.25

- old
+ new

@@ -86,9 +86,13 @@ }) system.stderr.writeLine("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"); phantom.exit(1); } + console.error = function(msg) { + system.stderr.writeLine(msg) + }; + function booPing() { console.log("pong"); } }