红联Linux门户
Linux帮助

Riot v2.6.0发布,JavaScript的MVP框架

发布时间:2016-08-21 09:20:17来源:红联作者:baihuo
Riot v2.6.0 发布了,Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。

该版本主要更新如下:

riot

Fix bug in nested loops templates riot#1646

Fix server rendering issues riot#1850 riot#1839

Fix inherit problem in loops riot#1897 thanks to @5angel

Fix options correctly passed to the compiler riot#1801

Fix svg xlink attributes riot#1922

Add support for getters setters in mixins riot#1888 thanks to @5angel

riot-observable

BREAKING CHANGE: riot observable will no longer support events namespaces, this feature brings performance drawback and router issuesmore info

riot-tmpl

Fix wrong context bug riot#1916

riot-route

Fix relative links issues riot#1916

点击这里查看官方发行说明:http://riotjs.com/release-notes/

下载地址:http://riotjs.com/download/

来自:开源中国社区
文章评论

共有 0 条评论