colorprint
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -23,2 +23,3 @@ /** | ||
Colorprint.prototype = { | ||
disabled: false, | ||
prepareMsg: function () { | ||
@@ -30,2 +31,6 @@ var s = this; | ||
writeToStdout: function (msg, color) { | ||
var s = this; | ||
if(s.disabled) { | ||
return; | ||
} | ||
console.log(decorateMsg(msg, color)); | ||
@@ -32,0 +37,0 @@ }, |
/** | ||
* Print ansi-colored message to stdout/stderr. | ||
* @version 2.0.1 | ||
* @version 2.0.2 | ||
* @module colorprint | ||
@@ -5,0 +5,0 @@ * @author {@link http://okunishitaka.com|Taka Okunishi |
{ | ||
"name": "colorprint", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Print ansi-colored message to stdout/stderr.", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6598564
245488