mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f8055f6fb8
Currently, the function that is provided through `HAMMER_LOADER` is called the same number of times as the `HammerGesturesPlugin.addEventListener` method is called (until the Hammer is loaded). This commit adds a class property in which the loader call is saved, thereby preventing multiple calls to the loader function. PR Close #25995 PR Close #40911