Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Bootstrap.js - An open source project by closed minded individuals?
(opens in new tab)
(rajivnavada.tumblr.com)
15 points
Rajiv_N
14y ago
2 comments
Share
Bootstrap.js - An open source project by closed minded individuals? | Better HN
2 comments
default
newest
oldest
prodigal_erik
14y ago
The bug was from
https://github.com/rajivnavada/bootstrap/commit/49d565a6da38...
, which used /bin/cat inappropriately. Parsing x+y is not equivalent to parsing x fully and then y, so javascript-aware tools are required for that sort of packaging.
tantalor
14y ago
This problem is very prevalent when concatenating JavaScript. The best defense is to prepend a semicolon before anonymous function closures.
For example, see Paul Irish's geo-location shim
https://gist.github.com/366184
j
/
k
navigate · click thread line to collapse