@angular/animations 4.4.3 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@angular/animations/browser/testing.es5.js +1 -1
- package/@angular/animations/browser/testing.js +1 -1
- package/@angular/animations/browser.es5.js +6 -2
- package/@angular/animations/browser.es5.js.map +1 -1
- package/@angular/animations/browser.js +6 -2
- package/@angular/animations/browser.js.map +1 -1
- package/@angular/animations.es5.js +1 -1
- package/@angular/animations.es5.js.map +1 -1
- package/@angular/animations.js +1 -1
- package/@angular/animations.js.map +1 -1
- package/animations.metadata.json +1 -1
- package/browser/testing.d.ts +1 -1
- package/browser.d.ts +1 -1
- package/bundles/animations-browser-testing.umd.js +2 -2
- package/bundles/animations-browser-testing.umd.min.js +1 -1
- package/bundles/animations-browser.umd.js +7 -3
- package/bundles/animations-browser.umd.js.map +1 -1
- package/bundles/animations-browser.umd.min.js +3 -3
- package/bundles/animations-browser.umd.min.js.map +1 -1
- package/bundles/animations.umd.js +2 -2
- package/bundles/animations.umd.js.map +1 -1
- package/bundles/animations.umd.min.js +2 -2
- package/package.json +2 -2
- package/src/animation_metadata.d.ts +7 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tslib_1 from "tslib";
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v4.4.
|
|
3
|
+
* @license Angular v4.4.4
|
|
4
4
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -1994,7 +1994,11 @@ var AnimationTimelineContext = (function () {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
if (selector.length > 0) {
|
|
1996
1996
|
var /** @type {?} */ multi = limit != 1;
|
|
1997
|
-
|
|
1997
|
+
var /** @type {?} */ elements = this._driver.query(this.element, selector, multi);
|
|
1998
|
+
if (limit !== 0) {
|
|
1999
|
+
elements = elements.slice(0, limit);
|
|
2000
|
+
}
|
|
2001
|
+
results.push.apply(results, elements);
|
|
1998
2002
|
}
|
|
1999
2003
|
if (!optional && results.length == 0) {
|
|
2000
2004
|
errors.push("`query(\"" + originalSelector + "\")` returned zero elements. (Use `query(\"" + originalSelector + "\", { optional: true })` if you wish to allow this.)");
|