@angular/platform-browser 6.1.9 → 6.1.10
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/bundles/platform-browser-animations.umd.js +1 -1
- package/bundles/platform-browser-animations.umd.min.js +1 -1
- package/bundles/platform-browser-animations.umd.min.js.map +1 -1
- package/bundles/platform-browser-testing.umd.js +1 -1
- package/bundles/platform-browser-testing.umd.min.js +1 -1
- package/bundles/platform-browser-testing.umd.min.js.map +1 -1
- package/bundles/platform-browser.umd.js +9 -3
- package/bundles/platform-browser.umd.js.map +1 -1
- package/bundles/platform-browser.umd.min.js +3 -3
- package/bundles/platform-browser.umd.min.js.map +1 -1
- package/esm2015/src/dom/events/hammer_gestures.js +10 -2
- package/esm2015/src/version.js +1 -1
- package/esm5/src/dom/events/hammer_gestures.js +8 -2
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +1 -1
- package/fesm2015/platform-browser.js +10 -4
- package/fesm2015/platform-browser.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm5/animations.js +2 -2
- package/fesm5/platform-browser.js +11 -5
- package/fesm5/platform-browser.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/package.json +3 -3
- package/platform-browser.metadata.json +1 -1
- package/src/dom/events/hammer_gestures.d.ts +1 -0
package/fesm2015/testing.js
CHANGED
package/fesm5/animations.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v6.1.
|
2
|
+
* @license Angular v6.1.10
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
6
6
|
|
7
|
-
import {
|
7
|
+
import { __extends, __decorate, __param, __metadata, __spread, __read } from 'tslib';
|
8
8
|
import { AnimationBuilder, AnimationFactory, sequence } from '@angular/animations';
|
9
9
|
import { Inject, Injectable, RendererFactory2, ViewEncapsulation, NgZone, InjectionToken, NgModule } from '@angular/core';
|
10
10
|
import { DOCUMENT, ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v6.1.
|
2
|
+
* @license Angular v6.1.10
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
6
6
|
|
7
|
-
import {
|
7
|
+
import { __decorate, __param, __metadata, __assign, __extends, __spread } from 'tslib';
|
8
8
|
import { ɵparseCookieValue, DOCUMENT, PlatformLocation, isPlatformServer, CommonModule, ɵPLATFORM_BROWSER_ID } from '@angular/common';
|
9
|
-
import { ɵglobal, Inject, Injectable, APP_INITIALIZER, ApplicationInitStatus, InjectionToken, Injector, setTestabilityGetter, Version, ApplicationRef, inject, defineInjectable, NgModule, APP_ID, PLATFORM_ID, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ErrorHandler, ɵAPP_ROOT,
|
9
|
+
import { ɵglobal, Inject, Injectable, APP_INITIALIZER, ApplicationInitStatus, InjectionToken, Injector, setTestabilityGetter, Version, ApplicationRef, inject, defineInjectable, NgZone, getDebugNode, NgProbeToken, Optional, NgModule, APP_ID, PLATFORM_ID, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ErrorHandler, ɵAPP_ROOT, ɵConsole, RendererFactory2, Testability, ApplicationModule, SkipSelf, SecurityContext, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, ViewEncapsulation, RendererStyleFlags2 } from '@angular/core';
|
10
10
|
|
11
11
|
/**
|
12
12
|
* @license
|
@@ -1571,7 +1571,13 @@ var HammerGesturesPlugin = /** @class */ (function (_super) {
|
|
1571
1571
|
zone.runGuarded(function () { handler(eventObj); });
|
1572
1572
|
};
|
1573
1573
|
mc.on(eventName, callback);
|
1574
|
-
return function () {
|
1574
|
+
return function () {
|
1575
|
+
mc.off(eventName, callback);
|
1576
|
+
// destroy mc to prevent memory leak
|
1577
|
+
if (typeof mc.destroy === 'function') {
|
1578
|
+
mc.destroy();
|
1579
|
+
}
|
1580
|
+
};
|
1575
1581
|
});
|
1576
1582
|
};
|
1577
1583
|
HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };
|
@@ -2455,7 +2461,7 @@ var By = /** @class */ (function () {
|
|
2455
2461
|
* Use of this source code is governed by an MIT-style license that can be
|
2456
2462
|
* found in the LICENSE file at https://angular.io/license
|
2457
2463
|
*/
|
2458
|
-
var VERSION = new Version('6.1.
|
2464
|
+
var VERSION = new Version('6.1.10');
|
2459
2465
|
|
2460
2466
|
/**
|
2461
2467
|
* @license
|