JavaScript 的 MVP 框架,Riot.js 2.3.13 發布下載
Riot.js 2.3.13 發布,此版本更新內容如下:
-
riot
-
Fix serverside rendering issue using the value attribute on thetextarea, optiontags more info
-
Fix nestedyieldslot issue more info
-
Add support foryieldslots serverside
-
Add better strategy for css injection more info
-
observable
-
Fix the issue with the errors swallowed in the callbacks more details, you no longer needtag.on('error', cb)to catch them
-
compiler
-
Fix riot#1495 : Warning of input tag value - Avoids warnings for date/datetime/time/month/email/color types with expression in its value.
-
Fix riot#1488 : Cannot read property ‘replace’ of undefined when compiling in Node a tag with an import in its less stylesheet – Thanks to @jrx-jsj
-
Fix riot#1448 : Riot compiler parses and removes content from string declaration. This is partial fix, you need to write<\/script>for closing script tags within quoted strings.
-
Revised regex that matches<pre>tags.
-
tmpl
-
Fix issues with double quotes.
-
cli
-
Fix for thewatchtask in case of errors, it will keep running re-starting a new subprocess forever on any error
-
Add betterversionoutput showing only theriot-compilerand theriot-cliversion currently in use
-
route
-
Add server side support more details
-
Add replaceState support more details
下載:https://github.com/riot/riot/archive/v2.3.13.zip
Riot.js是一個客戶端模型-視圖-呈現(MVP)框架并且它非常輕量級甚至小于1kb.盡管他的大小令人難以置信,所有它能構建的有如下:一個模板引擎,路由,甚至是庫和一個嚴格的并具有組織的MVP模式。當模型數據變化時視圖也會自動更新。
來自: http://www.oschina.net/news/69794/riot-js-2-3-13