【发布时间】:2014-08-21 10:28:53
【问题描述】:
Underscore.string 似乎为 javascript 字符串操作提供了不错的功能。
它似乎拥有所有优点:
- 许可证:麻省理工学院
- 依赖:无,it is an extension for Underscore.js 但it can be used as standalone, without underscore.js
- 重量(压缩和压缩):4KB
- 社区,贡献者:58 contributors on Github
- 历史,贡献:since mid 2010 on Github, contributions seem rather stable although pretty quiet since 2014
除了我缺少信息的一点:“浏览器支持/兼容性”。我特别担心旧版本的 IE。
我可以在 Github 上找到一些针对各种浏览器版本的问题(已修复),但我找不到任何关于浏览器支持的明确声明:
- https://github.com/epeli/underscore.string/pull/37
- https://github.com/epeli/underscore.string/issues?q=IE8
- https://github.com/epeli/underscore.string/issues/115
我还在 StackOverflow 上进行了搜索并进行了一些谷歌搜索,但没有运气。
我认为浏览器没有“官方”支持,所以如果有人有在用户使用旧浏览器 (IE8+) 的生产环境中使用 Underscore.string 的经验,那就太好了。
编辑:
我还在 Github 上直接添加了一个问题以尝试获得答案,如果我从那里收到任何消息,我会更新此页面。见https://github.com/epeli/underscore.string/issues/304
【问题讨论】:
标签: javascript cross-browser underscore.string.js