Sha256: c62eb335b3a2c49a4b9ed6f7e62919058b6ef4996e976bf2878215abf818a39f

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

'use strict';

exports.isatty = function isatty () {
  return true;
};

exports.getWindowSize = function getWindowSize () {
  if ('innerHeight' in global) {
    return [global.innerHeight, global.innerWidth];
  }
  // 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.54.5 vendor/node_modules/mocha/lib/browser/tty.js