TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

15 点作者 Rajiv_N超过 13 年前

2 条评论

prodigal_erik超过 13 年前
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.
tantalor超过 13 年前
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>