I thought the conditionals.html file was a bit misleading. #19

Merged
merged 1 commit into from Jan 16, 2012

Projects

None yet

2 participants

@hitsthings
Contributor

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.

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.
d303c6c
@shichuan
Owner

@hitsthings yeah, a comment like this is definitely needed to make the point clear, thanx a lot for the pull request

@shichuan shichuan merged commit 75b2d11 into shichuan:master Jan 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment