@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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v4.4.
|
|
2
|
+
* @license Angular v4.4.4
|
|
3
3
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1905,7 +1905,11 @@ class AnimationTimelineContext {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
if (selector.length > 0) {
|
|
1907
1907
|
const /** @type {?} */ multi = limit != 1;
|
|
1908
|
-
|
|
1908
|
+
let /** @type {?} */ elements = this._driver.query(this.element, selector, multi);
|
|
1909
|
+
if (limit !== 0) {
|
|
1910
|
+
elements = elements.slice(0, limit);
|
|
1911
|
+
}
|
|
1912
|
+
results.push(...elements);
|
|
1909
1913
|
}
|
|
1910
1914
|
if (!optional && results.length == 0) {
|
|
1911
1915
|
errors.push(`\`query("${originalSelector}")\` returned zero elements. (Use \`query("${originalSelector}", { optional: true })\` if you wish to allow this.)`);
|