JavaScript 的 MVP 框架 Riot.js v3.4.0 发布

jopen 7年前
   <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>    <h2>更新日志</h2>    <ul>     <li><em>Fix</em>: <code>riot-</code> prefixed attributes will be no longer prefixed in the <code>opts</code> object <a href="/misc/goto?guid=4959004273988564590">riot/2103</a></li>     <li><em>Fix</em>: <code>Null</code> and <code>undefined</code> expressions will be no longer converted into empty strings for the tag attributes <a href="/misc/goto?guid=4959004274127269845">riot/2180</a></li>     <li><em>Fix</em>: style attribute with expressions makes show directive invalid at the beginning <a href="/misc/goto?guid=4959004274245554408">riot/2178</a></li>     <li><em>Add</em>: add support for <code>style</code> and <code>class</code> object expressions more info <a href="/misc/goto?guid=4959004274364990108">here</a> and <a href="/misc/goto?guid=4959004274495762822">here</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959004274606790135" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959004274724614172" 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/786a1dc1">http://www.open-open.com/news/view/786a1dc1</a></p>