lodash 3.10.0 发布,JavaScript 实用工具库

jopen 9年前

lodash 是一个 JavaScript 实用工具库,提供一致性,模块化,性能和配件等功能。

lodash 3.10.0 发布,更新内容如下:

  • Added _.ceil, _.defaultsDeep, _.floor, _.modArgs, & _.round

  • Ensured _.bind works with all built-in constructors

  • Ensured _#concat treats sparse arrays as dense

  • Ensured _.chunk floors size values

  • Ensured _.debounce & _.throttle reset lastCall after cancelling

  • Ensure _.flow & _.flowRight work with functions combined with _.first

  • Ensured _.indexOf & _.lastIndexOf return -1 for unmatched binary searches for undefined

  • Ensured _.noConflict operates on root & not context

  • Mode _.escapeRegExp more robust

  • Made _.sortByOrder support orders of “asc” & “desc”

  • Optimized _.flatten, _.max, & _.min

  • Removed fallbacks for _.isArguments, _.isFunction, & _.isPlainObject

  • Simplified lazy evaluation support

  • Simplified _.isElement, _.isFinite, _.isNative, _.now, _.parseInt, & _.sum

更多内容请查看更新日志

该版本下载:Source code (zip)




来自:http://www.oschina.net/news/63808/lodash-3-10-0