Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes error class in HTML formatter.

  • Loading branch information...
commit 00f92a537613e0d84c75e14a32206d5afddd8110 1 parent 7d4fcbc
@jakubpawlowicz jakubpawlowicz authored
Showing with 21 additions and 21 deletions.
  1. +1 −1  bin/bench
  2. +20 −20 index.html
View
2  bin/bench
@@ -118,7 +118,7 @@ var benchmark = function(filename) {
var formatted = value;
if (result.size == sizes[sizes.length - 1] && sizes.length > 1 && sizes[0] != sizes[sizes.length - 1])
- formatted = styled(value, 'red', 'warning');
+ formatted = styled(value, 'red', 'danger');
if (result.size == sizes[0])
formatted = styled(value, 'green', 'success');
View
40 index.html
@@ -34,13 +34,13 @@
</tr>
<tr>
<td>animate.css - <em>57093 bytes</em></td>
-<td class='warning'>44425 bytes</td>
-<td class='warning'>44425 bytes</td>
+<td class='danger'>44425 bytes</td>
+<td class='danger'>44425 bytes</td>
<td class='success'>41626 bytes</td>
<td>44030 bytes</td>
<td>44420 bytes</td>
-<td class='warning'>44425 bytes</td>
-<td class='warning'>44425 bytes</td>
+<td class='danger'>44425 bytes</td>
+<td class='danger'>44425 bytes</td>
</tr>
<tr>
<td>blueprint.css - <em>17422 bytes</em></td>
@@ -50,7 +50,7 @@
<td>10796 bytes</td>
<td>10805 bytes</td>
<td>10805 bytes</td>
-<td class='warning'>10815 bytes</td>
+<td class='danger'>10815 bytes</td>
</tr>
<tr>
<td>bootstrap.css - <em>121218 bytes</em></td>
@@ -60,7 +60,7 @@
<td>99816 bytes</td>
<td class='danger'>error</td>
<td>99848 bytes</td>
-<td class='warning'>102505 bytes</td>
+<td class='danger'>102505 bytes</td>
</tr>
<tr>
<td>font-awesome.css - <em>21647 bytes</em></td>
@@ -68,9 +68,9 @@
<td>17589 bytes</td>
<td class='success'>17570 bytes</td>
<td>17586 bytes</td>
-<td class='warning'>17610 bytes</td>
+<td class='danger'>17610 bytes</td>
<td>17605 bytes</td>
-<td class='warning'>17610 bytes</td>
+<td class='danger'>17610 bytes</td>
</tr>
<tr>
<td>foundation.css - <em>140358 bytes</em></td>
@@ -80,7 +80,7 @@
<td>108390 bytes</td>
<td>108660 bytes</td>
<td>108663 bytes</td>
-<td class='warning'>109477 bytes</td>
+<td class='danger'>109477 bytes</td>
</tr>
<tr>
<td>gumby.css - <em>172544 bytes</em></td>
@@ -90,7 +90,7 @@
<td>156877 bytes</td>
<td class='danger'>error</td>
<td>156736 bytes</td>
-<td class='warning'>157279 bytes</td>
+<td class='danger'>157279 bytes</td>
</tr>
<tr>
<td>inuit.css - <em>53049 bytes</em></td>
@@ -100,7 +100,7 @@
<td>18206 bytes</td>
<td>18203 bytes</td>
<td>18206 bytes</td>
-<td class='warning'>18263 bytes</td>
+<td class='danger'>18263 bytes</td>
</tr>
<tr>
<td>normalize.css - <em>7582 bytes</em></td>
@@ -110,7 +110,7 @@
<td>1922 bytes</td>
<td>1935 bytes</td>
<td>1935 bytes</td>
-<td class='warning'>1939 bytes</td>
+<td class='danger'>1939 bytes</td>
</tr>
<tr>
<td>oocss.css - <em>40151 bytes</em></td>
@@ -120,7 +120,7 @@
<td>14753 bytes</td>
<td>14755 bytes</td>
<td>14755 bytes</td>
-<td class='warning'>14862 bytes</td>
+<td class='danger'>14862 bytes</td>
</tr>
<tr>
<td>pure.css - <em>35573 bytes</em></td>
@@ -130,17 +130,17 @@
<td>18991 bytes</td>
<td>19008 bytes</td>
<td>19030 bytes</td>
-<td class='warning'>19145 bytes</td>
+<td class='danger'>19145 bytes</td>
</tr>
<tr>
<td>reset.css - <em>1092 bytes</em></td>
<td class='success'>758 bytes</td>
-<td class='warning'>773 bytes</td>
-<td class='warning'>773 bytes</td>
-<td class='warning'>773 bytes</td>
-<td class='warning'>773 bytes</td>
-<td class='warning'>773 bytes</td>
-<td class='warning'>773 bytes</td>
+<td class='danger'>773 bytes</td>
+<td class='danger'>773 bytes</td>
+<td class='danger'>773 bytes</td>
+<td class='danger'>773 bytes</td>
+<td class='danger'>773 bytes</td>
+<td class='danger'>773 bytes</td>
</tr>
</tbody>
</table>

2 comments on commit 00f92a5

@XhmikosR
Collaborator

I assume you don't like font-weight:700 for the contextual classes? If so we should remove that code.

https://github.com/GoalSmashers/css-minification-benchmark/blob/gh-pages/lib/html-table.js#L31

@GoalSmashers
Please sign in to comment.
Something went wrong with that request. Please try again.