Skip to content

Commit

Permalink
Merge pull request #3 from zillow/master
Browse files Browse the repository at this point in the history
Removed usage of util.puts util.print in favor of console.log/process.stdout.write
  • Loading branch information
Kami committed Mar 4, 2015
2 parents 5707686 + d69f992 commit 859188f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/terminal.js
Expand Up @@ -21,12 +21,12 @@ var sprintf = require('sprintf').sprintf;

/* If true, formatting will be applied to all the text passed to the puts function. */

var VERSION = '0.1.2';
var VERSION = '0.1.5';

var USE_ANSI_CODES = true;

var PRINT_FUNC = util.print;
var PUTS_FUNC = util.puts;
var PRINT_FUNC = process.stdout.write;
var PUTS_FUNC = console.log;

var RAINBOW_STYLES = [
[31, 39], // red
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "terminal",
"description": "A collection of different terminal utility functions.",
"version": "0.1.4",
"version": "0.1.5",
"author": "Cloudkick, Inc. <tomaz+npm@cloudkick.com> http://www.cloudkick.com",
"contributors": [
{
Expand Down

0 comments on commit 859188f

Please sign in to comment.