angular-docs-cn/packages/platform-browser/test
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 fix(platform-browser): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
dom fix(platform-browser): ensure that Hammer loader is called only once (#40911) 2021-02-19 09:08:34 -08:00
security build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
static_assets refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
BUILD.bazel build: enable platform-browser tests on Saucelabs (#36797) 2020-04-28 15:10:27 -07:00
browser_util_spec.ts test(platform-browser): remove IE9 and IE10 checks from tests (#39090) 2020-10-13 15:51:48 -07:00
testing_public_spec.ts fix(core): ensure TestBed is not instantiated before override provider (#38717) 2020-09-22 15:03:44 -07:00