发布于 2015-11-18 01:31:45 | 226 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的AngularJS Tutorial中文版,程序狗速度看过来!

AngularJS 前端JS框架

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


Angular.js v1.5.0 beta.2 发布,更新内容如下:

Bug 修复

特性

性能提升

  • $compile:

    • use static jquery data method to avoid creating new instances (9b90c32f)

    • Lazily compile the transclude function (652b83eb)

  • $interpolate: provide a simplified result for constant expressions (cf83b4f4)

  • copy:

  • merge: remove unnecessary wrapping of jqLite element (4daafd3d,#13236)

Breaking Changes

  • $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.

ngMessage is now compiled with a priority of 1, which means directives on the same element as ngMessage with a priority lower than 1 will be applied when ngMessage calls the $transclude function. Previously, they were applied during the initial compile phase and were passed the comment element created by the transclusion of ngMessage. To restore this behavior, custom directives need to have their priority increased to at least "1".

ngOptions will now throw if ngModel is not present on the selectelement. 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.

Previously, an non array-like input would pass through the orderBy filter unchanged. Now, an error is thrown. This can be worked around by converting an object to an array, either manually or using a filter such ashttps://github.com/petebacondarwin/angular-toArrayFilter. (null and undefined still pass through without an error, in order to support asynchronous loading of resources.)

Closes #11255 Closes #11719

详情请看:CHANGELOG.md

下载地址:v1.5.0-beta.2

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



历史版本 :
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号  版权声明  广告服务