1 | var __extends = (this && this.__extends) || (function () {
|
2 | var extendStatics = Object.setPrototypeOf ||
|
3 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
4 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
5 | return function (d, b) {
|
6 | extendStatics(d, b);
|
7 | function __() { this.constructor = d; }
|
8 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
9 | };
|
10 | })();
|
11 | import { Injectable } from '@angular/core';
|
12 | import { HammerGestureConfig } from '@angular/platform-browser';
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | var IonicGestureConfig = (function (_super) {
|
18 | __extends(IonicGestureConfig, _super);
|
19 | function IonicGestureConfig() {
|
20 | return _super !== null && _super.apply(this, arguments) || this;
|
21 | }
|
22 | |
23 |
|
24 |
|
25 |
|
26 | IonicGestureConfig.prototype.buildHammer = function (element) {
|
27 | var mc = new ((window)).Hammer(element);
|
28 | for (var eventName in this.overrides) {
|
29 | mc.get(eventName).set(this.overrides[eventName]);
|
30 | }
|
31 | return mc;
|
32 | };
|
33 | return IonicGestureConfig;
|
34 | }(HammerGestureConfig));
|
35 | export { IonicGestureConfig };
|
36 | IonicGestureConfig.decorators = [
|
37 | { type: Injectable },
|
38 | ];
|
39 |
|
40 |
|
41 |
|
42 | IonicGestureConfig.ctorParameters = function () { return []; };
|
43 | function IonicGestureConfig_tsickle_Closure_declarations() {
|
44 |
|
45 | IonicGestureConfig.decorators;
|
46 | |
47 |
|
48 |
|
49 |
|
50 | IonicGestureConfig.ctorParameters;
|
51 | }
|
52 |
|
\ | No newline at end of file |