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

新闻 Riot v2.4.0 发布,JavaScript 的 MVP 框架 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,660
    赞:
    47
    Riot v2.4.0 发布了,Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。

    改进记录如下:


    • riot


      • Fix Chrome Content Security Policy issues riot#1076, special riot build are provided to solve this problem (riot.csp)


      • Fix multiple global mixin riot#1699 - thanks to @wintercounter


      • Add better support for the svg tags riot#1199

    • observable


      • Now 30% faster [observable#18]https://github.com/riot/observable/pull/18 - thanks to @Ke-


      • Add events namespace support observable#15 - thanks again to @Ke-

    • cli


      • Add the --new option to easily create new riot components


      • Fix symlinks issues thanks to the shelljs@0.7.0 upgrade cli#14

    • compiler


      • Add the pug parser, jade will be deprecated in the next riot major release


      • Add the possibility to pass custom parsers options directly via the compiler.compile method through the parserOptions: {js: {}, template: {}, style: {}} key compiler#64


      • Fix un-escape parser options in html compiler#63

    下载地址:

    Riot v2.4.0 发布,JavaScript 的 MVP 框架下载地址
     
正在加载...