摘要 | Riot.js是一个客户端模型-视图-呈现MVP框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。Riot.js 2.2.2 beta 发布,更新内容:Fixtheerrorthrowninthecompilerforthetagsusingtype=textjava... |
Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。
Riot.js 2.2.2 beta 发布,更新内容:
Fix the error thrown in the compiler for the tags using type=text/javascript attribute Fix parent variables not exposed to the loop children, now all the children in a loop will inherit the parent properties/methods more details Fix the error thrown trying to override read only events properties Fix compiler AMD compliant Fix the riot cli combined with the --modular flag when no output file is specified
下载:https://github.com/riot/riot/archive/v2.2.2-beta.zip。
关注下方微信公众号“Java精选”(w_z90110),回复关键词领取资料:如Mysql、Hadoop、Dubbo、Spring Boot等,免费领取视频教程、资料文档和项目源码。