红联Linux门户
Linux帮助

AngularJS 1.3.4发布,HTML的Web框架

发布时间:2014-11-25 09:16:38来源:红联作者:empast
AngularJS 1.3.4 发布,该版本改进记录包括:

Bug Fixes

$browser: allow chaining url() calls in setter mode (764fa869,#10157)

$http: return empty headers, ignore properties in Object prototype (637c020f,#7779, #10113, #10091)

$locale: Allow currency filter to fall back to maxFrac from locale (6dbd606a,#10179)

$location: allow empty string URLs to reset path, search, and hash (7812dfce,#10063, #10064)

$route: fix redirection with optional/eager params (891acf4c,#9819, #9827)

Angular: properly get node name for svg element wrapper (09a98323,#10078, #10172)

NgModelController: typo $rawModelValue -> $$rawModelValue (4f4ff5f3)

input:

set ngTrueValue on required checkbox (8692f87a,#5164)

call $setTouched in blur asynchronously if necessary (eab27187,#8762, #9808, #10014)

inputdate: do not use $isEmpty to check the model validity (40406e2f)

linky: encode double quotes when serializing email addresses (8ee8ffeb,#8945, #8964, #5946, #10090, #9256)

ngMaxlength: ignore maxlength when not set to a non-negative integer (92f87b11,#9874)

ngModel: don't run parsers when executing $validate (e3764e30)

ngModelOptions: preserve context of getter/setters (bb4d3b73,#9394, #9865)

Features

ngMaxlength: add support for disabling max length limit (5c1fdff6,#9995)

ngModelController: add $setDirty method (e8941c0f,#10038, #10049)

ngPluralize: add support for count to be a one-time expression (2b41a586,#10004)

Performance Improvements

**:* use Object.create instead of creating temporary constructors (bf6a79c3,#10058)

Breaking Changes

ngModelOptions: due to bb4d3b73, previously, ngModel invoked getter/setters in the global context.

Angular JS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。 AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。

软件详情:http://angularjs.org/

下载地址:https://github.com/angular/angular.js

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

共有 0 条评论