天天看點

Riot 3.6.0 釋出,JavaScript 的 MVP 架構

riot 3.6.0 釋出了。riot.js 是一個用戶端模型-視圖-呈現(mvp)架構并且它非常輕量級甚至小于 1kb。盡管他的大小令人難以置信,所有它能建構的有如下:一個模闆引擎,路由,甚至是庫和一個嚴格的并具有組織的 mvp 模式。當模型資料變化時視圖也會自動更新。

本次更新如下:

riot:

add: the option to block the riot automatic updates via riot.settings.autoupdate more info riot/2377

fix: regex in

riot-tmpl:

fix: incorrect regex that matches literal regexes

fix: use shared regex parser for browser and server versions

riot-compiler:

fix: various issues with literal regexes

下載下傳位址:

source code (zip)

source code (tar.gz)

繼續閱讀