From cd2907381b28f756d8bf7baa2d55f26127dff5d8 Mon Sep 17 00:00:00 2001 From: GabrielMeyer Date: Mon, 25 Mar 2019 14:41:47 +0100 Subject: [PATCH] Includes `hammerjs`. --- client/package.json | 1 + client/src/polyfills.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index ce025796e..18b3758ce 100644 --- a/client/package.json +++ b/client/package.json @@ -44,6 +44,7 @@ "core-js": "^2.6.5", "css-element-queries": "^1.1.1", "file-saver": "^2.0.1", + "hammerjs": "^2.0.8", "material-icon-font": "git+https://github.com/petergng/materialIconFont.git", "ng-pick-datetime": "^7.0.0", "ngx-file-drop": "^5.0.5", diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 410ee4d01..c396a37fc 100644 --- a/client/src/polyfills.ts +++ b/client/src/polyfills.ts @@ -69,9 +69,10 @@ import 'core-js/es7/reflect'; // (window as any).__Zone_enable_cross_context_check = true; /*************************************************************************************************** - * Zone JS is required by default for Angular itself. + * Zone JS and Hammer JS are required by default for Angular itself. */ import 'zone.js/dist/zone'; // Included with Angular CLI. +import 'hammerjs'; /*************************************************************************************************** * APPLICATION IMPORTS