Permalink
Browse files

Default 'color' option of colorize() to yes

  • Loading branch information...
1 parent 931314b commit e813748cdfb9cdbf93e7b710e9c5e0acd1e60671 @andreyvit committed Nov 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/colorize.iced
View
@@ -68,7 +68,7 @@ colorizeToArray = (diff) ->
colorize = (diff, options={}) ->
output = []
colorizeToCallback diff, (color, line) ->
- if options.color
+ if options.color ? yes
output.push (options.theme?[color] ? Theme[color])("#{color}#{line}") + "\n"
else
output.push "#{color}#{line}\n"

0 comments on commit e813748

Please sign in to comment.