@angular/core 4.2.3 → 4.2.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.
@@ -1,6 +1,6 @@
1
1
  import * as tslib_1 from "tslib";
2
2
  /**
3
- * @license Angular v4.2.3
3
+ * @license Angular v4.2.4
4
4
  * (c) 2010-2017 Google, Inc. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v4.2.3
2
+ * @license Angular v4.2.4
3
3
  * (c) 2010-2017 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import * as tslib_1 from "tslib";
2
2
  /**
3
- * @license Angular v4.2.3
3
+ * @license Angular v4.2.4
4
4
  * (c) 2010-2017 Google, Inc. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -734,17 +734,17 @@ ViewEncapsulation[ViewEncapsulation.None] = "None";
734
734
  */
735
735
  var ViewMetadata = (function () {
736
736
  /**
737
- * @param {?=} __0
737
+ * @param {?=} opts
738
738
  */
739
- function ViewMetadata(_a) {
740
- var _b = _a === void 0 ? {} : _a, templateUrl = _b.templateUrl, template = _b.template, encapsulation = _b.encapsulation, styles = _b.styles, styleUrls = _b.styleUrls, animations = _b.animations, interpolation = _b.interpolation;
741
- this.templateUrl = templateUrl;
742
- this.template = template;
743
- this.styleUrls = styleUrls;
744
- this.styles = styles;
745
- this.encapsulation = encapsulation;
746
- this.animations = animations;
747
- this.interpolation = interpolation;
739
+ function ViewMetadata(opts) {
740
+ if (opts === void 0) { opts = {}; }
741
+ this.templateUrl = opts.templateUrl;
742
+ this.template = opts.template;
743
+ this.styleUrls = opts.styleUrls;
744
+ this.styles = opts.styles;
745
+ this.encapsulation = opts.encapsulation;
746
+ this.animations = opts.animations;
747
+ this.interpolation = opts.interpolation;
748
748
  }
749
749
  return ViewMetadata;
750
750
  }());
@@ -796,7 +796,7 @@ var Version = (function () {
796
796
  /**
797
797
  * \@stable
798
798
  */
799
- var VERSION = new Version('4.2.3');
799
+ var VERSION = new Version('4.2.4');
800
800
  /**
801
801
  * @license
802
802
  * Copyright Google Inc. All Rights Reserved.
@@ -7876,26 +7876,6 @@ var DefaultKeyValueDiffer = (function () {
7876
7876
  this._changesTail = record;
7877
7877
  }
7878
7878
  };
7879
- /**
7880
- * @return {?}
7881
- */
7882
- DefaultKeyValueDiffer.prototype.toString = function () {
7883
- var /** @type {?} */ items = [];
7884
- var /** @type {?} */ previous = [];
7885
- var /** @type {?} */ changes = [];
7886
- var /** @type {?} */ additions = [];
7887
- var /** @type {?} */ removals = [];
7888
- this.forEachItem(function (r) { return items.push(stringify(r)); });
7889
- this.forEachPreviousItem(function (r) { return previous.push(stringify(r)); });
7890
- this.forEachChangedItem(function (r) { return changes.push(stringify(r)); });
7891
- this.forEachAddedItem(function (r) { return additions.push(stringify(r)); });
7892
- this.forEachRemovedItem(function (r) { return removals.push(stringify(r)); });
7893
- return 'map: ' + items.join(', ') + '\n' +
7894
- 'previous: ' + previous.join(', ') + '\n' +
7895
- 'additions: ' + additions.join(', ') + '\n' +
7896
- 'changes: ' + changes.join(', ') + '\n' +
7897
- 'removals: ' + removals.join(', ') + '\n';
7898
- };
7899
7879
  /**
7900
7880
  * \@internal
7901
7881
  * @template K, V
@@ -7949,15 +7929,6 @@ var KeyValueChangeRecord_ = (function () {
7949
7929
  */
7950
7930
  this._nextChanged = null;
7951
7931
  }
7952
- /**
7953
- * @return {?}
7954
- */
7955
- KeyValueChangeRecord_.prototype.toString = function () {
7956
- return looseIdentical(this.previousValue, this.currentValue) ?
7957
- stringify(this.key) :
7958
- (stringify(this.key) + '[' + stringify(this.previousValue) + '->' +
7959
- stringify(this.currentValue) + ']');
7960
- };
7961
7932
  return KeyValueChangeRecord_;
7962
7933
  }());
7963
7934
  /**