3 ms·
Update: Bootstrap fixed their code as Crockford prefers. From fat's comment circa 11 am PDT: fwiw, this was patched in bootstrap way before i even encountered
by wpietri 15y ago
Update: Bootstrap fixed their code as Crockford prefers. From fat's comment circa 11 am PDT:
fwiw, this was patched in bootstrap way before i even encountered this issue - otherwise i wouldn't have closed it outright.
Sorry for the confusion everyone.
You can see the code here in 2.0.3: https://github.com/twitter/bootstrap/blob/2.0.3-wip/js/bootstrap-dropdown.js#L63 https://github.com/twitter/bootstrap/blob/2.0.3-wip/js/boots...
I still maintain this is a bug in jsmin, but as others have pointed out - mark and I do our best to make bootstrap flexible with other great tools out there (like jsmin). This includes adding semicolons where necessary or changing minor stylistic things.