1
1
/**
2
- * @license AngularJS v1.6.8
3
- * (c) 2010-2017 Google, Inc. http://angularjs.org
2
+ * @license AngularJS v1.6.10
3
+ * (c) 2010-2018 Google, Inc. http://angularjs.org
4
4
* License: MIT
5
5
*/
6
6
( function ( window , angular ) { 'use strict' ;
@@ -532,7 +532,7 @@ var ANIMATE_TIMER_KEY = '$$animateCss';
532
532
* Once again, `$animateCss` is designed to be used inside of a registered JavaScript animation that
533
533
* is powered by ngAnimate. It is possible to use `$animateCss` directly inside of a directive, however,
534
534
* any automatic control over cancelling animations and/or preventing animations from being run on
535
- * child elements will not be handled by Angular . For this to work as expected, please use `$animate` to
535
+ * child elements will not be handled by AngularJS . For this to work as expected, please use `$animate` to
536
536
* trigger the animation and then setup a JavaScript animation that injects `$animateCss` to trigger
537
537
* the CSS animation.
538
538
*
@@ -2774,7 +2774,7 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
2774
2774
2775
2775
while ( parentNode ) {
2776
2776
if ( ! rootNodeDetected ) {
2777
- // angular doesn't want to attempt to animate elements outside of the application
2777
+ // AngularJS doesn't want to attempt to animate elements outside of the application
2778
2778
// therefore we need to ensure that the rootElement is an ancestor of the current element
2779
2779
rootNodeDetected = ( parentNode === rootNode ) ;
2780
2780
}
@@ -3387,7 +3387,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
3387
3387
* @description
3388
3388
*
3389
3389
* The `ngAnimate` module provides support for CSS-based animations (keyframes and transitions) as well as JavaScript-based animations via
3390
- * callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation hooks are enabled for an Angular app.
3390
+ * callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation hooks are enabled for an AngularJS app.
3391
3391
*
3392
3392
* ## Usage
3393
3393
* Simply put, there are two ways to make use of animations when ngAnimate is used: by using **CSS** and **JavaScript**. The former works purely based
@@ -3416,7 +3416,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
3416
3416
* ## CSS-based Animations
3417
3417
*
3418
3418
* CSS-based animations with ngAnimate are unique since they require no JavaScript code at all. By using a CSS class that we reference between our HTML
3419
- * and CSS code we can create an animation that will be picked up by Angular when an underlying directive performs an operation.
3419
+ * and CSS code we can create an animation that will be picked up by AngularJS when an underlying directive performs an operation.
3420
3420
*
3421
3421
* The example below shows how an `enter` animation can be made possible on an element using `ng-if`:
3422
3422
*
@@ -3675,7 +3675,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
3675
3675
* enter: function(element, doneFn) {
3676
3676
* jQuery(element).fadeIn(1000, doneFn);
3677
3677
*
3678
- * // remember to call doneFn so that angular
3678
+ * // remember to call doneFn so that AngularJS
3679
3679
* // knows that the animation has concluded
3680
3680
* },
3681
3681
*
@@ -3723,7 +3723,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
3723
3723
*
3724
3724
* ## CSS + JS Animations Together
3725
3725
*
3726
- * AngularJS 1.4 and higher has taken steps to make the amalgamation of CSS and JS animations more flexible. However, unlike earlier versions of Angular ,
3726
+ * AngularJS 1.4 and higher has taken steps to make the amalgamation of CSS and JS animations more flexible. However, unlike earlier versions of AngularJS ,
3727
3727
* defining CSS and JS animations to work off of the same CSS class will not work anymore. Therefore the example below will only result in **JS animations taking
3728
3728
* charge of the animation**:
3729
3729
*
@@ -4039,7 +4039,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
4039
4039
*
4040
4040
* ## Using $animate in your directive code
4041
4041
*
4042
- * So far we've explored how to feed in animations into an Angular application, but how do we trigger animations within our own directives in our application?
4042
+ * So far we've explored how to feed in animations into an AngularJS application, but how do we trigger animations within our own directives in our application?
4043
4043
* By injecting the `$animate` service into our directive code, we can trigger structural and class-based hooks which can then be consumed by animations. Let's
4044
4044
* imagine we have a greeting box that shows and hides itself when the data changes
4045
4045
*
@@ -4082,7 +4082,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
4082
4082
* });
4083
4083
* ```
4084
4084
*
4085
- * (Note that earlier versions of Angular prior to v1.4 required the promise code to be wrapped using `$scope.$apply(...)`. This is not the case
4085
+ * (Note that earlier versions of AngularJS prior to v1.4 required the promise code to be wrapped using `$scope.$apply(...)`. This is not the case
4086
4086
* anymore.)
4087
4087
*
4088
4088
* In addition to the animation promise, we can also make use of animation-related callbacks within our directives and controller code by registering
@@ -4097,7 +4097,7 @@ var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $root
4097
4097
* }])
4098
4098
* ```
4099
4099
*
4100
- * (Note that you will need to trigger a digest within the callback to get angular to notice any scope-related changes.)
4100
+ * (Note that you will need to trigger a digest within the callback to get AngularJS to notice any scope-related changes.)
4101
4101
*/
4102
4102
4103
4103
var copy ;
@@ -4124,7 +4124,7 @@ var noop;
4124
4124
* Click here {@link ng.$animate to learn more about animations with `$animate`}.
4125
4125
*/
4126
4126
angular . module ( 'ngAnimate' , [ ] , function initAngularHelpers ( ) {
4127
- // Access helpers from angular core.
4127
+ // Access helpers from AngularJS core.
4128
4128
// Do it inside a `config` block to ensure `window.angular` is available.
4129
4129
noop = angular . noop ;
4130
4130
copy = angular . copy ;
@@ -4139,7 +4139,7 @@ angular.module('ngAnimate', [], function initAngularHelpers() {
4139
4139
isFunction = angular . isFunction ;
4140
4140
isElement = angular . isElement ;
4141
4141
} )
4142
- . info ( { angularVersion : '1.6.8 ' } )
4142
+ . info ( { angularVersion : '1.6.10 ' } )
4143
4143
. directive ( 'ngAnimateSwap' , ngAnimateSwapDirective )
4144
4144
4145
4145
. directive ( 'ngAnimateChildren' , $$AnimateChildrenDirective )
0 commit comments