mirror of
https://github.com/flynx/colors.js.git
synced 2026-01-11 05:47:47 +00:00
style nits
This commit is contained in:
parent
c13ff984bb
commit
410397a5fb
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
**/*.sw*
|
||||||
@ -1,5 +1,5 @@
|
|||||||
var assert = require('assert'),
|
var assert = require('assert'),
|
||||||
colors = require('../lib/index');
|
colors = require('../lib/index');
|
||||||
|
|
||||||
var s = 'string';
|
var s = 'string';
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
var assert = require('assert'),
|
var assert = require('assert'),
|
||||||
colors = require('../safe');
|
colors = require('../safe');
|
||||||
|
|
||||||
var s = 'string';
|
var s = 'string';
|
||||||
|
|
||||||
@ -54,3 +54,4 @@ colors.setTheme({ error: 'red' });
|
|||||||
|
|
||||||
assert.equal(typeof (colors.red("astring")), 'string');
|
assert.equal(typeof (colors.red("astring")), 'string');
|
||||||
assert.equal(typeof (colors.error("astring")), 'string');
|
assert.equal(typeof (colors.error("astring")), 'string');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user