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:
@@ -8,7 +8,7 @@ import { debounce } from './tickers'
|
||||
*/
|
||||
/** @type {RegisteredCustomEvent[]} */
|
||||
|
||||
REGISTERED_CUSTOM_EVENTS = []
|
||||
const REGISTERED_CUSTOM_EVENTS = []
|
||||
|
||||
/**
|
||||
* Determines if the given object is the {@see Window}.
|
||||
|
||||
Reference in New Issue
Block a user