lodash 3.10.0 發布,JavaScript 實用工具庫

jopen 9年前發布 | 6K 次閱讀 Lodash

lodash 是一個 JavaScript 實用工具庫,提供一致性,模塊化,性能和配件等功能。

lodash 3.10.0 發布,更新內容如下:

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

    </li>

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

    </li>

  • Ensured _#concat treats sparse arrays as dense

    </li>

  • Ensured _.chunk floors size values

    </li>

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

    </li>

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

    </li>

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

    </li>

  • Ensured _.noConflict operates on root & not context

    </li>

  • Mode _.escapeRegExp more robust

    </li>

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

    </li>

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

    </li>

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

    </li>

  • Simplified lazy evaluation support

    </li>

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

    </li> </ul>

    更多內容請查看更新日志

    該版本下載:Source code (zip)




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

     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!