JavaScript 的 MVP 框架,Riot.js 2.1.0 發布

ngmm 9年前發布 | 5K 次閱讀 Riot.js

Riot.js 是一個客戶端模型-視圖-呈現(MVP)框架并且它非常輕量級甚至小于1kb.盡管他的大小令人難以置信,所有它能構建的有如下:一個模板引擎,路由,甚 至是庫和一個嚴格的并具有組織的MVP模式。當模型數據變化時視圖也會自動更新。Riot.js 支持 IE8。

更新內容:

  • added the possibility to set the parent attributes also in the tag template #289

  • added saucelabs tests hooks for crossbrowser testing

  • added coveralls coverage hooks to check the code coverage on any pull request

  • added the riot.parsers property [css, js, html]

  • added the preventUpdate flag to avoid to trigger the auto update callbacks #699

  • added the components mixins in the core #536

  • updated the node compiler from the browser compiler

  • updated the build script using smash to compile riot

CDNJS

  • https://cdnjs.cloudflare.com/ajax/libs/riot/2.1.0/riot+compiler.min.js

  • https://cdnjs.cloudflare.com/ajax/libs/riot/2.1.0/riot.min.js

下載:https://github.com/riot/riot/archive/v2.1.0.zip

 本文由用戶 ngmm 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!