JavaScript 的 MVP 框架 Riot.js v3.2.0 发布
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/ae6697fe28b153c2f0f92fe04c52443d.png" /></p> <p> </p> <p>Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。</p> <p> </p> <h2>更新日志</h2> <ul> <li><em>Fix:</em> disable the global mixins for the anonymous tags <a href="/misc/goto?guid=4958998979583356728">riot/2056</a></li> <li><em>Fix:</em> setting selected attribute of multiple <code><option></code> tags in a multi select does not work properly <a href="/misc/goto?guid=4958998979669290558">riot/2247</a></li> <li><em>Fix:</em> mount event not fired due to listener for wrong event <a href="/misc/goto?guid=4958998979762450792">riot/2249</a></li> <li><em>Add:</em> the <code>riot.settings.skipAnonymousTags</code> flag <a href="/misc/goto?guid=4958998979862575157">more info</a></li> <li><em>Improve:</em> the looped tags rendering is ~30% faster than before mainly for the <code>anonymous</code> tags</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958998979944923703" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958998980029671639" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/2cb6700b">http://www.open-open.com/news/view/2cb6700b</a></p>