3 ms·
tl;dr In the end the guy who considers himself a hipster engineer wrapped the stuff into if statement: clearMenus() if (!isActive) $parent.toggleCla
by scottcanoni 12y ago
tl;dr
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."
- Zikes 12y agoI'm betting the tweet was a tongue-in-cheek reaction to the situation. 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.