1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

using globalThis instead of window (#1315)

This commit is contained in:
MDMCDC
2022-10-17 18:03:48 +07:00
committed by GitHub
parent f3edb02be3
commit d34b8c5eb7

View File

@@ -11,5 +11,5 @@ import './src/toast';
import * as bootstrap from 'bootstrap';
import * as tabler from './src/tabler';
window.bootstrap = bootstrap;
window.tabler = tabler;
globalThis.bootstrap = bootstrap;
globalThis.tabler = tabler;