JavaScript 的 MVP 框架 Riot.js v2.5.0 发布

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/ae6697fe28b153c2f0f92fe04c52443d.png" /></p>    <p>Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。</p>    <h2>更新日志</h2>    <ul>     <li><strong>riot</strong>      <ul>       <li>Fix mixins using child class functions (<code>class Child extends Parent {}</code>)<a href="/misc/goto?guid=4958991895396771855">riot#1857</a></li>       <li>Fix bug select option order <a href="/misc/goto?guid=4958991895521331732">riot#1815</a></li>       <li>Fix <code>riot.csp</code> previously bundled with the wrong <code>riot-tmpl</code> version<a href="/misc/goto?guid=4958991895633969715">riot#1076</a></li>      </ul> </li>     <li><strong>riot-compiler</strong>      <ul>       <li>Add support for es6 “import” inside tags <a href="/misc/goto?guid=4958991895753846706">compiler#71</a></li>      </ul> </li>     <li><strong>riot-cli</strong>      <ul>       <li>Add better error messages in case of missing dependencies</li>      </ul> </li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958991895859010520" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958991895989164189" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>