Skip to content

Commit

Permalink
Default 'color' option of colorize() to yes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvit committed Nov 23, 2012
1 parent 931314b commit e813748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/colorize.iced
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e813748

Please sign in to comment.