1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Declare REGISTERED_CUSTOM_EVENTS as a const to avoid altering window global object

This commit is contained in:
Jérémy Minié
2022-06-22 17:07:39 -04:00
parent cfa899639e
commit 4ff4f2fb9c

View File

@@ -8,7 +8,7 @@ import { debounce } from './tickers'
*/ */
/** @type {RegisteredCustomEvent[]} */ /** @type {RegisteredCustomEvent[]} */
REGISTERED_CUSTOM_EVENTS = [] const REGISTERED_CUSTOM_EVENTS = []
/** /**
* Determines if the given object is the {@see Window}. * Determines if the given object is the {@see Window}.