Sha256: 6382f3f5612821e725bf2299b51bd33b56a9a102d3d007c41076bb1c6f31f5c8
Contents?: true
Size: 268 Bytes
Versions: 28
Compression:
Stored size: 268 Bytes
Contents
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]; } };
Version data entries
28 entries across 28 versions & 1 rubygems