twitter/bootstrap — Issue #625: Bootstrap JS Can't Be Minified
Author: mwcollins
Created: 2011-11-13 14:46:31+00:00
State: open

So I understand wanting to write code shorthand, but the wholesale lack of semi-colon statement terminators in bootstrap js files makes it impossible the minify the javascript without errors. Minify strips newlines, so the Javascript interpreter can't parse the files correctly. I've resorted to going through the files and adding semi-colons myself, which has been pretty tedious. I've also found that it's a little difficult to understand where statements terminate, given the unusual formatting dialect.