Sha256: 85efecccb9d5a74a50755a49c779d199952708de85ba175c006cae96c3ed3943

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 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

1 entries across 1 versions & 1 rubygems

Version Path
stylus-source-0.49.3 vendor/node_modules/mocha/lib/browser/tty.js