angular/packages/platform-browser/src
arturovt 228b5f73b1 fix(platform-browser): ensure that Hammer loader is called only once (#40911)
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
2021-02-19 09:08:34 -08:00
..
browser docs(platform-browser): fix spelling of deserialized (#36102) 2020-12-08 12:01:04 -08:00
dom fix(platform-browser): ensure that Hammer loader is called only once (#40911) 2021-02-19 09:08:34 -08:00
security docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
browser.ts docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
platform-browser.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform-browser.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00