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

新闻 total.js 2.1.0 发布,Node.js 的 MVC 框架 下载

本帖由 漂亮的石头2016-10-14 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,979
    赞:
    47
    total.js 2.1.0 发布了。

    total.js 是个 web 应用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 应用框架来构建 web 网站和 web 应用。

    更新内容:


    新增


    • added: F.sitemap_add(string) for adding entries to sitemap by Martin Smola https://github.com/molda


    • added: SchemaBuilderEntity schema.addHook(name, fn(error, model, options, callback))


    • added: SchemaBuilderEntity schema.hook(name, model, [helper], callback)


    • added: controller.$hook(name, [helper], callback)


    • added: String.parseInt2() the method searchs number and converts it to integer


    • added: String.parseFloat2() the method searchs number and converts it to float


    • ......

    更新


    • updated: framework.view(), controller.view() and @{view()} supports =theme/viewname


    • updated: sitemap routing supports localization


    • updated: F.cache.fn(name, fnCache, fnCallback(value, isFromCache)) - added argument isFromCache


    • updated: F.use(name, url, types, [first]) - first (default: false) argument adds a new middleware to the beginning of a route middleware


    • updated: String.toSearch() - removes duplicates characters + better performance


    • updated: String.decode() - improves decoding by Tom Spaccialbelli https://github.com/harry-stot

    修复


    • fixed: (critical) NoSQL views


    • fixed: (critical) view compilation in release mode (problem with just-in-time rendering)


    • fixed: (critical) F.eval()


    • fixed: (critical) parsing Date instance as Date instance in SchemaBuilder


    • fixed: F.resize() additional path ~


    • fixed: controller.memorize() threw a timeout when the action contains some error in the memorize scope


    • ......

    完整内容,请查看发行日志

    下载地址:

    total.js 2.1.0 发布,Node.js 的 MVC 框架下载地址
     
正在加载...