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

新闻 Handlebars.js 4.0.0 发布,JavaScript 页面模板库 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,336
    赞:
    47
    Handlebars.js 4.0.0 发布,此版本更新内容如下:


    • #1082 - Decorators and Inline Partials (@kpdecker)


    • #1076 - Implement partial blocks (@kpdecker)


    • #1087 - Fix #each when last object entry has empty key (@denniskuczynski)


    • #1084 - Bump uglify version to fix vulnerability (@John-Steidley)


    • #1068 - Fix typo (@0xack13)


    • #1060 - #1056 Fixed grammar for nested raw blocks (@ericbn)


    • #1052 - Updated year in License (@maqnouch)


    • #1037 - Fix minor typos in README (@tomxtobin)


    • #1032 - Is it possible to render a partial without the parent scope? (@aputinski)


    • #1019 - Fixes typo in tests (@aymerick)


    • #1016 - Version mis-match (@mayankdedhia)


    • #1023 - is it possible for nested custom helpers to communicate between each other?


    • #893 - [Proposal] Section blocks.


    • #792 - feature request: inline partial definitions


    • #583 - Parent path continues to drill down depth with multiple conditionals


    • #404 - Add named child helpers that can be referenced by block helpers


    • Escape = in HTML content - 83b8e84


    • Drop AST constructors in favor of JSON - 95d84ba


    • Pass container rather than exec as context - 9a2d1d6


    • Add ignoreStandalone compiler option - ea3a5a1


    • Ignore empty when iterating on sparse arrays - 06d515a


    • Add support for string and stdin precompilation - 0de8dac


    • Simplify object assignment generation logic - 77e6bfc


    • Bulletproof AST.helpers.helperExpression - 93b0760


    • Always return string responses - 8e868ab


    • Pass undefined fields to helpers in strict mode - 5d4b8da


    • Avoid depth creation when context remains the same - 279e038


    • Improve logging API - 9a49d35


    • Fix with operator in no @data mode - 231a8d7


    • Allow empty key name in each iteration - 1bb640b


    • Add with block parameter support - 2a85106


    • Fix escaping of non-javascript identifiers - 410141c


    • Fix location information for programs - 93faffa

    下载:https://github.com/wycats/handlebars.js/archive/v4.0.0.zip

    Handlebars.js 是一个 JavaScript 的页面模板库

    [​IMG]
    Handlebars.js 4.0.0 发布,JavaScript 页面模板库下载地址
     
正在加载...