红联Linux门户
Linux帮助

Riot.js 2.3.13发布下载,JavaScript的MVP框架

发布时间:2016-01-12 09:19:16来源:红联作者:baihuo
Riot.js 2.3.13 发布,此版本更新内容如下:

riot

Fix serverside rendering issue using the value attribute on the textarea, option tags more info

Fix nested yield slot issue more info

Add support for yield slots 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 need tag.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
 tags.


tmpl

Fix issues with double quotes.

cli

Fix for the watch task in case of errors, it will keep running re-starting a new subprocess forever on any error

Add better version output showing only the riot-compiler and the riot-cli version 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模式。当模型数据变化时视图也会自动更新。

来自:开源中国社区
文章评论

共有 0 条评论