Bootstrap-dropdown.js clearMenus() needs ; at the end
github.com
github.com
Glad Crockford wouldn't comply. Buggy code is buggy no matter the formatting. Learn to write future-proof code (or keep it off GitHub.)
Why would you ever not use them other than lazyness?
Is there any particular reason why people are minifying bootstrap themselves?
In the end the guy who considers himself a hipster engineer wrapped the stuff into if statement:
clearMenus()
if (!isActive) $parent.toggleClass('open')
Furthermore he twitted that "The only reason I [fat] don't use semicolons is to troll people."Still, it is funny the lengths people will go to to avoid putting a semicolon at the end of their statements, even when the hacks to get around it are even uglier than the semicolon.