mirror of
https://github.com/flynx/colors.js.git
synced 2025-11-01 04:20:12 +00:00
[misc] JSHINT compliance
This commit is contained in:
parent
eace24dc1a
commit
289591434a
@ -133,7 +133,7 @@ function stylize(str, style) {
|
|||||||
'yellowBG' : ['<span style="background-color:yellow;">', '</span>']
|
'yellowBG' : ['<span style="background-color:yellow;">', '</span>']
|
||||||
};
|
};
|
||||||
} else if (exports.mode === 'none') {
|
} else if (exports.mode === 'none') {
|
||||||
return str+'';
|
return str + '';
|
||||||
} else {
|
} else {
|
||||||
console.log('unsupported mode, try "browser", "console" or "none"');
|
console.log('unsupported mode, try "browser", "console" or "none"');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user