Riot v3.7.2 已发布,Riot.js 是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于 1kb。尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的 MVP 模式。当模型数据变化时视图也会自动更新。本次更新如下:
riot:
- Fix: svg dynamic preserveAspectRatio don’t work riot/2445
- Fix: scoping of
show
in Yielded Content riot/2448 - Improve: loops performance
- Improve: new tags creation preferring objects instead of function instances
- Improve: simplify parent -> children tags inheritance
riot-compiler:
- Update: dependencies and refactor some internal code avoiding bitwise operators
- Fix: coffeescript parser require riot-compiler/102
详情请参阅发布说明
下载地址:
转自 http://www.oschina.net/news/88999/riot-3-7-2