d7fd1ee02098ccd52b799bab17b76e671f6629b7.svn-base 267 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 exports.isatty = function(){ return true; }; exports.getWindowSize = function(){ if ('innerHeight' in global) { return [global.innerHeight, global.innerWidth]; } else { // In a Web Worker, the DOM Window is not available. return [640, 480]; } };