Commit d303c6c
hitsthings
I thought the conditionals.html file was a bit misleading. The first form isn't an antipattern, IMO. Paul Irish explicitly said the latter forms were only superior for bookmarklets. So I ran a jsperf and linked it here so people can compare for themselves.
1 parent 144a0d0 commit d303c6c
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
0 commit comments