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

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>    <p> </p>    <h2>更新日志</h2>    <ul>     <li><em>Fix:</em> when using riot-viewBox inside an svg tag it is replaced by viewbox. <a href="/misc/goto?guid=4958995914086018246">riot/2086</a></li>     <li><em>Fix:</em> tag mounted with data-is=”{some expression}” is not updating <a href="/misc/goto?guid=4958995914197239665">riot/2102</a></li>     <li><em>Fix:</em> attributes are not removed when other tag without attributes is mounted on an element<a href="/misc/goto?guid=4958995914297538285">riot/2098</a></li>     <li><em>Remove:</em> removes SPM support <a href="/misc/goto?guid=4958995914393905933">riot/2124</a></li>     <li><em>Change:</em> avoid to use <code>console.error</code> if a user has defined already a custom error function<a href="/misc/goto?guid=4958995914505871685">riot/2108</a></li>     <li><em>Change:</em> prefer lowercase to debug tags names</li>     <li><em>Change:</em> internal regex to support the <code>@apply rule</code> provided by css preprocessors</li>     <li><em>Fix:</em> router with query param not working <a href="/misc/goto?guid=4958995914614746173">riot-route/74</a></li>     <li><em>Fix:</em> remplate literals break IE <a href="/misc/goto?guid=4958995914714559330">riot-route/77</a></li>    </ul>    <p> </p>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958995914823801029" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958995914923791390" 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/2279ba73">http://www.open-open.com/news/view/2279ba73</a></p>