1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 lodash 3.6.0 发布,JavaScript 实用工具库 下载

本帖由 漂亮的石头2015-03-26 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    lodash 3.6.0 发布,此版本更新内容如下:


    • Added _.restParam


    • Added isIterateeCall guards to _.every, _.includes, & _.some


    • Added support for iteratee & thisArg params to _.sum


    • Added support for shortcut fusion optimizations to _.flow & _.flowRight


    • Ensured lodash bundled by r.js runs in a web worker


    • Ensured _.deburr removes combining diacritical marks


    • Expanded metadata optimizations to more combinations of curried functions


    • Optimized _.findLast, _.reduce, & _.reduceRight


    • Reduced code duplication with internal method creator functions


    • Relaxed _.matches & _.matchesProperty to work with non-plain objects & match inherited properties

    lodash-cli 更新请看 lodash-cli changelog。更多内容请看更新日志

    此版本现已提供下载:https://github.com/lodash/lodash/archive/3.6.0.zip

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

    _.assign({ 'a': 1 }, { 'b': 2 }, { 'c': 3 });
    // → { 'a': 1, 'b': 2, 'c': 3 }
    _.map([1, 2, 3], function(n) { return n * 3; });
    // → [3, 6, 9]

    当前支持 Chrome 39-40, Firefox 34-35, IE 6-11, Opera 25-26, Safari 5-8, io.js 1.0.4, Node.js 0.8.28 & 0.10.35, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5。
    lodash 3.6.0 发布,JavaScript 实用工具库下载地址
     
正在加载...