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

新闻 Mithril.js 0.1.32 发布,JavaScript MVC 框架 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    Mithril.js 0.1.32 发布,现已提供下载:https://github.com/lhorie/mithril.js/archive/v0.1.32.zip

    官方尚未有发行说明,同一天还发布了 Mithril.js 0.1.31 版本,更新内容如下:

    新特性


    • Typescript definitions are more strongly typed


    • m.request's unwrapSuccess and unwrapError callbacks now receive the XMLHttpRequest instance as a second parameter


    • 3rd parameter for m.route(route, params, shouldReplaceHistory) is now public


    • exact routes now have higher precedence than routes w/ variables #452


    • there's now a retain flag to control on-route-change diff strategy on a per-element basis
    Bug 修复


    • fix routing bug in IE9 #320


    • fix ordering bug in m.trust when using HTML entities #453


    • set promise's default value to initialValue if coming from m.request #454


    • fix dom element ownership bug when mixing keyed elements and third party plugin elements #463


    • fix edge case in flatten algorithm #448


    • prevent unnecessary DOM move operation when mixing keyed and unkeyed elements #398


    • revert #382 due to diff regression #512

    Mithril.js 是一个客户端的 JavaScript MVC 框架。可将应用分成数据层、UI层和控制层。Mithril 压缩后只有 3kb 左右。API 提供一个模板引擎,带 DOM diff 实现,支持路由和组合。

    [​IMG]
    Mithril.js 0.1.32 发布,JavaScript MVC 框架下载地址
     
正在加载...