Sha256: 33b508f975b0c25cfa2a0b952ad92a71d0fbd3bba8a1b7260fa505d646f0087d

Contents?: true

Size: 517 Bytes

Versions: 17

Compression:

Stored size: 517 Bytes

Contents

var COLORS_ON = {
  RESET: '\x1B[39m',
  ANSWER: '\x1B[36m', // NYAN
  SUCCESS: '\x1B[32m', // GREEN
  QUESTION: '\x1B[1m', // BOLD
  question: function(str) {
    return this.QUESTION + str + '\x1B[22m';
  },
  success: function(str) {
    return this.SUCCESS + str + this.RESET;
  }
};

var COLORS_OFF = {
  RESET: '',
  ANSWER: '',
  SUCCESS: '',
  QUESTION: '',
  question: function(str) {
    return str;
  },
  success: function(str) {
    return str;
  }
};


exports.ON = COLORS_ON;
exports.OFF = COLORS_OFF;

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.4.1 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.4.0 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.3.0 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.2.1 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.2.0 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.1.0 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.0.8 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.0.7 jasmine/node_modules/karma/lib/init/color_schemes.js
hooch-0.0.6 jasmine/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/lib/init/color_schemes.js