发布于 2015-09-30 00:59:27 | 132 次阅读 | 评论: 0 | 来源: 网友投递
AngularJS 前端JS框架
AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。
Angular.js 1.4.7/1.5.0-beta.1/v1.3.20/v1.2.29 发布,更内容如下:
$compile:
$parse:
$sanitize:
filters: ensure formatNumber
observes i18n decimal separators (658a865c,#10342, #12850)
injector: support arrow functions with no parenthesis (03726f7f,#12890)
input: remove workaround for Firefox bug (b366f035)
ngAnimate:
ngMessages: prevent race condition with ngAnimate (8366622b,#12856, #12903)
ngOptions:
ngResource: encode &
in URL query param values (1c97a605,#12201)
$animateCss: add support for temporary styles via cleanupStyles
(9f67da62,#12930)
$http: add $xhrFactory
service to enable creation of custom xhr objects (106f90aa,#2318, #9319, #12159)
$injector: add strictDi property to $injector instance (79577c5d,#11728, #11734)
ngModel: provide ng-empty and ng-not-empty CSS classes (630280c7,#10050, #12848)
$compile: Lazily compile the transclude
function (652b83eb)
$sanitize: due to 181fc567, The svg support in is now an opt-in option
Applications that depend on this option can use to turn the option back on, but while doing so, please read the warning provided in the documentation for information on preventing click-hijacking attacks when this option is turned on.
ngOptions: due to ded25187,
ngOptions
will now throw if ngModel
is not present on the select
element. Previously, having no ngModel
let ngOptions
silently fail, which could lead to hard to debug errors. The change should therefore not affect any applications, as it simply makes the requirement more strict and alerts the developer explicitly.
$compile: use createMap() for $$observe listeners when initialized from attr interpolation (5a98e806,#10446)
$parse:
filters: ensure formatNumber
observes i18n decimal separators (4994acd2,#10342, #12850)
jqLite: properly handle dash-delimited node names in jqLiteBuildFragment
(cdd1227a,#10617, #12759)
ngAnimate:
ngMessages: prevent race condition with ngAnimate (7295c60f,#12856, #12903)
ngOptions:
$animateCss: add support for temporary styles via cleanupStyles
(e52d731b,#12930)
$http: add $xhrFactory
service to enable creation of custom xhr objects (7a413df5,#2318, #9319, #12159)
$parse: do not convert to string computed properties multiple times (d434f3db)
$browser: prevent infinite digests when clearing the hash of a url (9845cee6,#9629, #9635, #10228, #10308)
$compile: workaround for IE11 MutationObserver (fccce96d,#11781, #12613)
$location: strip off empty hash segments when comparing (e81b2f72,#9635, #10748)
$parse:
ngAnimate: ensure that minified repaint code isn't removed (b041b664,#9936)
更多内容请看:CHANGELOG.md
下载页面:releases
AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。