Skip to content

Commit

Permalink
Merge pull request #7 from mdawaffe/fix/partial-support-percentage-di…
Browse files Browse the repository at this point in the history
…splay

Fix typo in displaying partial support percentage.
  • Loading branch information
sgentle committed Aug 4, 2015
2 parents c744eb5 + 31a8874 commit c80928f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caniuse.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ showFeature = (result, opts={}) ->

percentages = []
percentages.push "#{result.usage_perc_y}%".green if result.usage_perc_y
percentages.push "#{result.usage_perc_a}%".yellow if result.usage_perc_y
percentages.push "#{result.usage_perc_a}%".yellow if result.usage_perc_a
percentages = percentages.join(' ')

status = if opts.long then " [#{data.statuses[result.status]}]" else ''
Expand Down

0 comments on commit c80928f

Please sign in to comment.