发布于 2015-11-23 02:57:52 | 158 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Riot.js Javascript MVP框架

Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。


Riot.js 2.3.11 发布下载,此版本更新内容:

  • Compiler

    • Gets rid of the zero-indentation restriction for custom tags, now you can indent these tags, but the opening and closing tag must have exactly the same indentation (length and type). All the tag will be unindented by this amount.

    • Support for src and charset attributes in <script> tags for reading JavaScript sources from the file system - riot#507

    • The compile function can return separate parts by setting the new entities option. These parts have unescaped newlines.

    • New attribute options for script and style tags will append/overwrite attributes in the default configuration object of the parser at tag level.

    • Fix riot#1261: <pre> tag does not preserve neither n nor t. Now whitespace within <pre> tags is always preserved.

    • Fix riot#1358: Empty style in tag (scoped) breaks.

    • Fix riot#1306: Compiler preserves newlines in class objects, causing “Unterminated String Constant” errors.

    • Fix riot#1314: settings.brackets no longer works.

  • riot

    • Fix support for riot.render on the old node versions

    • Fix loop small issues using

    • Fix riot.route will not block not registered links with event.preventDefault

    • Add error event on all the riot.observable instances to catch all the possible errors thrown in the callbacks

  • riot-cli

    • Add better error messages if a parser is not locally installed

    • Add the export option to extract singularly just portions of your tags like css, js or html

    • Add the style option to chose the default preprocessor for your tags style

    • Add built-in css preprocessor support for sass, scss and less

下载:https://github.com/riot/riot/archive/v2.3.11.zip

Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。



历史版本 :
Riot 3.7.3 发布,JavaScript 的 MVP 框架
Riot v3.7.2 发布,JavaScript 的 MVP 框架
Riot 3.7.0 发布,JavaScript 的 MVP 框架
Riot 3.6.1 发布,JavaScript 的 MVP 框架
Riot 3.6.0 发布,JavaScript 的 MVP 框架
Riot 3.5.1 发布,JavaScript 的 MVP 框架
Riot 3.5.0 发布,JavaScript 的 MVP 框架
Riot 3.2.0 发布,JavaScript 的 MVP 框架
Riot.js v3.0.0-alpha.4 发布,JavaScript 的 MVP 框架
Riot v3.0.0-alpha.3 发布,JavaScript 的 MVP 框架
Riot v2.3.18 发布,JavaScript 的 MVP 框架
Riot.js 2.3.13 发布下载,JavaScript 的 MVP 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务