@angular/animations 8.0.0-rc.3 → 8.0.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.3
2
+ * @license Angular v8.0.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.3
2
+ * @license Angular v8.0.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm5/browser.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.3
2
+ * @license Angular v8.0.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -130,17 +130,22 @@ var _isNode = isNode();
130
130
  if (_isNode || typeof Element !== 'undefined') {
131
131
  // this is well supported in all browsers
132
132
  _contains = function (elm1, elm2) { return elm1.contains(elm2); };
133
- if (_isNode || Element.prototype.matches) {
134
- _matches = function (element, selector) { return element.matches(selector); };
135
- }
136
- else {
137
- var proto = Element.prototype;
138
- var fn_1 = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||
139
- proto.oMatchesSelector || proto.webkitMatchesSelector;
140
- if (fn_1) {
141
- _matches = function (element, selector) { return fn_1.apply(element, [selector]); };
133
+ _matches = (function () {
134
+ if (_isNode || Element.prototype.matches) {
135
+ return function (element, selector) { return element.matches(selector); };
142
136
  }
143
- }
137
+ else {
138
+ var proto = Element.prototype;
139
+ var fn_1 = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||
140
+ proto.oMatchesSelector || proto.webkitMatchesSelector;
141
+ if (fn_1) {
142
+ return function (element, selector) { return fn_1.apply(element, [selector]); };
143
+ }
144
+ else {
145
+ return _matches;
146
+ }
147
+ }
148
+ })();
144
149
  _query = function (element, selector, multi) {
145
150
  var results = [];
146
151
  if (multi) {
@@ -1988,8 +1993,9 @@ var WebAnimationsStyleNormalizer = /** @class */ (function (_super) {
1988
1993
  };
1989
1994
  return WebAnimationsStyleNormalizer;
1990
1995
  }(AnimationStyleNormalizer));
1991
- var DIMENSIONAL_PROP_MAP = makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'
1992
- .split(','));
1996
+ var ɵ0 = function () { return makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'
1997
+ .split(',')); };
1998
+ var DIMENSIONAL_PROP_MAP = (ɵ0)();
1993
1999
  function makeBooleanMap(keys) {
1994
2000
  var map = {};
1995
2001
  keys.forEach(function (key) { return map[key] = true; });