From 686106d544ecc3b6ffd4db2b665d3bc879a58d8c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 24 Sep 2012 16:22:07 -0400 Subject: ok --- node_modules/mocha/lib/browser/tty.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 node_modules/mocha/lib/browser/tty.js (limited to 'node_modules/mocha/lib/browser/tty.js') diff --git a/node_modules/mocha/lib/browser/tty.js b/node_modules/mocha/lib/browser/tty.js new file mode 100644 index 0000000..2d84374 --- /dev/null +++ b/node_modules/mocha/lib/browser/tty.js @@ -0,0 +1,8 @@ + +exports.isatty = function(){ + return true; +}; + +exports.getWindowSize = function(){ + return [window.innerHeight, window.innerWidth]; +}; \ No newline at end of file -- cgit v1.2.3-70-g09d2