Avoids redefining bslib-provided custom elements or web components (e.g. bslib-tooltip, bslib-popover) as well as globally-registered classes (bslib.Sidebar and bslib.Card).
In both cases a console error message is provided:
[bslib] Global window.bslib.Sidebar was already defined, using previous definition.
[bslib] Custom element bslib-tooltip was already defined, using previous definition.
Fixes #1044
Avoids redefining bslib-provided custom elements or web components (e.g.
bslib-tooltip
,bslib-popover
) as well as globally-registered classes (bslib.Sidebar
andbslib.Card
).In both cases a console error message is provided: