JavaScript 的 MVP 框架 Riot.js v3.0.2 發布
Riot.js是一個客戶端模型-視圖-呈現(MVP)框架并且它非常輕量級甚至小于1kb.盡管他的大小令人難以置信,所有它能構建的有如下:一個模板引擎,路由,甚至是庫和一個嚴格的并具有組織的MVP模式。當模型數據變化時視圖也會自動更新。
更新日志
- Fix: when using riot-viewBox inside an svg tag it is replaced by viewbox. riot/2086
- Fix: tag mounted with data-is=”{some expression}” is not updating riot/2102
- Fix: attributes are not removed when other tag without attributes is mounted on an elementriot/2098
- Remove: removes SPM support riot/2124
- Change: avoid to use
console.error
if a user has defined already a custom error functionriot/2108 - Change: prefer lowercase to debug tags names
- Change: internal regex to support the
@apply rule
provided by css preprocessors - Fix: router with query param not working riot-route/74
- Fix: remplate literals break IE riot-route/77
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/2279ba73
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!