天天看点

Riot 3.6.0 发布,JavaScript 的 MVP 框架

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

本次更新如下:

riot:

add: the option to block the riot automatic updates via riot.settings.autoupdate more info riot/2377

fix: regex in

riot-tmpl:

fix: incorrect regex that matches literal regexes

fix: use shared regex parser for browser and server versions

riot-compiler:

fix: various issues with literal regexes

下载地址:

source code (zip)

source code (tar.gz)

继续阅读