@angular/core 4.2.0 → 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.
- package/@angular/core/testing.es5.js +1 -1
- package/@angular/core/testing.js +1 -1
- package/@angular/core.es5.js +12 -41
- package/@angular/core.es5.js.map +1 -1
- package/@angular/core.js +11 -40
- package/@angular/core.js.map +1 -1
- package/bundles/core-testing.umd.js +2 -2
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core.umd.js +13 -42
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +4 -4
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/package.json +1 -1
- package/src/change_detection/differs/default_keyvalue_differ.d.ts +0 -1
- package/src/metadata/di.d.ts +8 -8
- package/src/metadata/view.d.ts +1 -1
- package/testing.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v4.2.
|
|
2
|
+
* @license Angular v4.2.4
|
|
3
3
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -36,7 +36,7 @@ function __extends(d, b) {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* @license Angular v4.2.
|
|
39
|
+
* @license Angular v4.2.4
|
|
40
40
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
41
41
|
* License: MIT
|
|
42
42
|
*/
|
package/bundles/core.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v4.2.
|
|
2
|
+
* @license Angular v4.2.4
|
|
3
3
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -36,7 +36,7 @@ function __extends(d, b) {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* @license Angular v4.2.
|
|
39
|
+
* @license Angular v4.2.4
|
|
40
40
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
41
41
|
* License: MIT
|
|
42
42
|
*/
|
|
@@ -766,17 +766,17 @@ ViewEncapsulation[ViewEncapsulation.None] = "None";
|
|
|
766
766
|
*/
|
|
767
767
|
var ViewMetadata = (function () {
|
|
768
768
|
/**
|
|
769
|
-
* @param {?=}
|
|
769
|
+
* @param {?=} opts
|
|
770
770
|
*/
|
|
771
|
-
function ViewMetadata(
|
|
772
|
-
|
|
773
|
-
this.templateUrl = templateUrl;
|
|
774
|
-
this.template = template;
|
|
775
|
-
this.styleUrls = styleUrls;
|
|
776
|
-
this.styles = styles;
|
|
777
|
-
this.encapsulation = encapsulation;
|
|
778
|
-
this.animations = animations;
|
|
779
|
-
this.interpolation = interpolation;
|
|
771
|
+
function ViewMetadata(opts) {
|
|
772
|
+
if (opts === void 0) { opts = {}; }
|
|
773
|
+
this.templateUrl = opts.templateUrl;
|
|
774
|
+
this.template = opts.template;
|
|
775
|
+
this.styleUrls = opts.styleUrls;
|
|
776
|
+
this.styles = opts.styles;
|
|
777
|
+
this.encapsulation = opts.encapsulation;
|
|
778
|
+
this.animations = opts.animations;
|
|
779
|
+
this.interpolation = opts.interpolation;
|
|
780
780
|
}
|
|
781
781
|
return ViewMetadata;
|
|
782
782
|
}());
|
|
@@ -828,7 +828,7 @@ var Version = (function () {
|
|
|
828
828
|
/**
|
|
829
829
|
* \@stable
|
|
830
830
|
*/
|
|
831
|
-
var VERSION = new Version('4.2.
|
|
831
|
+
var VERSION = new Version('4.2.4');
|
|
832
832
|
/**
|
|
833
833
|
* @license
|
|
834
834
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -7908,26 +7908,6 @@ var DefaultKeyValueDiffer = (function () {
|
|
|
7908
7908
|
this._changesTail = record;
|
|
7909
7909
|
}
|
|
7910
7910
|
};
|
|
7911
|
-
/**
|
|
7912
|
-
* @return {?}
|
|
7913
|
-
*/
|
|
7914
|
-
DefaultKeyValueDiffer.prototype.toString = function () {
|
|
7915
|
-
var /** @type {?} */ items = [];
|
|
7916
|
-
var /** @type {?} */ previous = [];
|
|
7917
|
-
var /** @type {?} */ changes = [];
|
|
7918
|
-
var /** @type {?} */ additions = [];
|
|
7919
|
-
var /** @type {?} */ removals = [];
|
|
7920
|
-
this.forEachItem(function (r) { return items.push(stringify(r)); });
|
|
7921
|
-
this.forEachPreviousItem(function (r) { return previous.push(stringify(r)); });
|
|
7922
|
-
this.forEachChangedItem(function (r) { return changes.push(stringify(r)); });
|
|
7923
|
-
this.forEachAddedItem(function (r) { return additions.push(stringify(r)); });
|
|
7924
|
-
this.forEachRemovedItem(function (r) { return removals.push(stringify(r)); });
|
|
7925
|
-
return 'map: ' + items.join(', ') + '\n' +
|
|
7926
|
-
'previous: ' + previous.join(', ') + '\n' +
|
|
7927
|
-
'additions: ' + additions.join(', ') + '\n' +
|
|
7928
|
-
'changes: ' + changes.join(', ') + '\n' +
|
|
7929
|
-
'removals: ' + removals.join(', ') + '\n';
|
|
7930
|
-
};
|
|
7931
7911
|
/**
|
|
7932
7912
|
* \@internal
|
|
7933
7913
|
* @template K, V
|
|
@@ -7981,15 +7961,6 @@ var KeyValueChangeRecord_ = (function () {
|
|
|
7981
7961
|
*/
|
|
7982
7962
|
this._nextChanged = null;
|
|
7983
7963
|
}
|
|
7984
|
-
/**
|
|
7985
|
-
* @return {?}
|
|
7986
|
-
*/
|
|
7987
|
-
KeyValueChangeRecord_.prototype.toString = function () {
|
|
7988
|
-
return looseIdentical(this.previousValue, this.currentValue) ?
|
|
7989
|
-
stringify(this.key) :
|
|
7990
|
-
(stringify(this.key) + '[' + stringify(this.previousValue) + '->' +
|
|
7991
|
-
stringify(this.currentValue) + ']');
|
|
7992
|
-
};
|
|
7993
7964
|
return KeyValueChangeRecord_;
|
|
7994
7965
|
}());
|
|
7995
7966
|
/**
|