Riot v2.4.1 发布了,Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。 更新内容: Fix unable to render server-side SVG riot#1780 Fix object detection in the loops riot#1790 Add throw errors in case of unregistered mixins initialization riot#1796thanks to @juodumas Add support for class (function) mixins riot#1800 thanks to @ashleybrener Fix yield replacing issue riot#1786 Fix protect the internal “tags” attribute from being externally overriddenriot#1803 Removed useless riot+compiler.csp.js bundle riot#1799 下载地址: Source code (zip) Source code (tar.gz) Riot v2.4.1 发布,JavaScript 的 MVP 框架下载地址