发布于 2014-12-24 04:50:38 | 178 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Ember.JS中文指南,程序狗速度看过来!
Ember JavaScript的MVC框架
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember 是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
Ember.js是一个JavaScript的MVC框架,它由Apple前雇员创建的SproutCore 2.0改名进化而来
Ember.js 1.9.1 发布,此版本主要是修复了一个回退问题,增强了系统的安全性,帮助开发者更好的防范跨站脚本攻击。
更新内容如下:
Allow {{view}}
helper to proper handle view instances.
Escape href
, src
, and background
attributes for a
, link
, img
, and iframe
elements.
此版本现已提供下载。
同时还发布了 Ember.js 1.10.0 beta2,更新内容如下:
[BUGFIX] Allow makeBoundHelper to be a sub-expression.
[BUGFIX] Allow compat makeBoundHelpers to be sub-expressions.
[BUGFIX] Export Ember.Handlebars compat shim for Ember.Handlebars.SafeString
and Ember.Handlebars.Utils.escapeExpression
.
[BUGFIX] Allow Ember.inject
injected properties to be overridden (makes testing significantly easier).
[BUGFIX] Don’t assert uncaught RSVP rejections. We are already logging the error, but asserting breaks everything else on the run loop queue.
[BUGFIX] Allow tagName to be a CP (with deprecation).
[BUGFIX] Allow view instances in {{view}}.
[BUGFIX] Ensure bound attrs flush immediately.
[PERFORMANCE] Initialize views in preRender state.
[PERFORMANCE] View#element
should not be observable.
Add ember-template-compiler package.
Rename Ember.HTMLBars.registerASTPlugin
to Ember.HTMLBars.registerPlugin
.
Export ember-template-compiler.js
.
更多内容请看发行说明。