@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v6.1.9
2
+ * @license Angular v6.1.10
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Angular v6.1.9
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 { __read, __decorate, __metadata, __extends, __param, __spread } from 'tslib';
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.9
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 { __extends, __decorate, __param, __metadata, __assign, __spread } from 'tslib';
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, NgZone, ɵConsole, Optional, RendererFactory2, Testability, ApplicationModule, SkipSelf, getDebugNode, NgProbeToken, SecurityContext, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, ViewEncapsulation, RendererStyleFlags2 } from '@angular/core';
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 () { return mc.off(eventName, callback); };
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.9');
2464
+ var VERSION = new Version('6.1.10');
2459
2465
 
2460
2466
  /**
2461
2467
  * @license