发布于 2016-12-17 00:53:24 | 178 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的AngularJS开发指南,程序狗速度看过来!

AngularJS 前端JS框架

AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。


Angular.js v1.5.10 发布了。

更新内容:

Bug 修复

  • $compile:

    • don't throw tplrt error when there is whitespace around a top-level comment (12752f #15108)

    • clean up @-binding observers when re-assigning bindings (f3cb6e #15268)

    • set attribute value even if ngAttr* contains no interpolation (229799 #15133)

    • bindToController should work without controllerAs (944989 #15088)

    • do not overwrite values set in $onInit() for <-bound literals (07e1ba #15118)

    • avoid calling $onChanges() twice for NaN initial values (0cf5be)

  • $location: prevent infinite digest with IDN urls in Edge (4bf892 #15217)

  • $rootScope: correctly handle adding/removing watchers during $digest (a9708d #15422)

  • $sce: fix adjustMatcher to replace multiple * and ** (78eecb)

  • jqLite: silently ignore after() if element has no parent (77ed85 #15331)

  • input[radio]: use non-strict comparison for checkedness (593a50)

  • select, ngOptions:

    • let ngValue take precedence over option text with multiple interpolations (5b7ec8 #15413)

    • don't add comment nodes as empty options (1d29c9 #15454)

  • ngClassOdd/Even: add/remove the correct classes when expression/$index change simultaneously (e3d020)

  • $sanitize: reduce stack height in IE <= 11 (862dc2 #14928)

  • ngMock/$controller: respect $compileProvider.preAssignBindingsEnabled() (75c83f)

新特性

  • bootstrap: do not bootstrap from unknown schemes with a different origin (bdeb33 #15428)

  • $anchorScroll: convert numeric hash targets to string (a52640 #14680)

  • $compile:

    • add preAssignBindingsEnabled option (f86576)

    • throw error when directive name or factory function is invalid (5c9399 #15056)

  • $controller: throw when requested controller is not registered (9ae793 #14980)

  • $location: add support for selectively rewriting links based on attribute (a4a222)

  • $resource: pass status/statusText to success callbacks (a8da25 #8341 #8841)

  • ngSwitch: allow multiple case matches via optional attribute ngSwitchWhenSeparator (0e1651 #3410 #3516)

性能提升

  • all: don't trigger digests after enter/leave of structural directives (c57779 #15322)

  • $compile: validate directive.restrict property on directive init (31d464)

  • ngOptions: avoid calls to element.value (e269ad)

  • jqLite: move bind/unbind definitions out of the loop (7717b9)

下载地址:



历史版本 :
Angular 6.0.0-beta.1 和 5.2.2 发布,Web 前端框架
Angular 6.0.0-beta.0 和 5.2.1 发布,Web 前端框架
Angular 5.2 现已发布,Web 前端框架
Angular 5.2.0-rc.0 和 5.1.3 发布,Web 前端框架
Angular 5.2.0-beta.1 和 5.1.2 发布,Web 前端框架
Angular 5.2.0-beta.0 和 5.1.1 发布,Web 前端框架
Angular 5.1.0 正式版发布,Web 前端框架
Angular 5.0.5 和 5.1.0 rc.1 发布,Web 前端框架
Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架
Angular.js 1.6.7 发布,Web 前端框架
Angular 5.0.2 和 5.1.0 beta1 发布,Web 前端框架
Angular 5.0.1 和 5.1.0 beta0 发布,Web 前端框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

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