TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bootstrap.js - An open source project by closed minded individuals?

15 pointsby Rajiv_Nover 13 years ago

2 comments

prodigal_erikover 13 years ago
The bug was from <a href="https://github.com/rajivnavada/bootstrap/commit/49d565a6da38359a776f83f31a1f1ccd658c88a7#L0R35" rel="nofollow">https://github.com/rajivnavada/bootstrap/commit/49d565a6da38...</a>, 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.
tantalorover 13 years ago
This problem is very prevalent when concatenating JavaScript. The best defense is to prepend a semicolon before anonymous function closures.<p>For example, see Paul Irish's geo-location shim <a href="https://gist.github.com/366184" rel="nofollow">https://gist.github.com/366184</a>