Ember 是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
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.
更多内容请看发行说明。
软件详情:https://github.com/emberjs/ember.js/releases
下载地址:https://github.com/emberjs/ember.js/archive/v1.9.1.zip
来自:开源中国社区

