kopia lustrzana https://github.com/shoelace-style/shoelace
welcome back, null
rodzic
c26a8810c8
commit
0eb3375bb9
|
@ -30,18 +30,6 @@ export default {
|
||||||
<body>
|
<body>
|
||||||
<link rel="stylesheet" href="dist/themes/light.css">
|
<link rel="stylesheet" href="dist/themes/light.css">
|
||||||
<script type="module" src="dist/shoelace.js"></script>
|
<script type="module" src="dist/shoelace.js"></script>
|
||||||
<script>
|
|
||||||
//
|
|
||||||
// This script has been added to prevent "null" from appearing in browser logs.
|
|
||||||
//
|
|
||||||
// More details: https://github.com/shoelace-style/shoelace/pull/1128#issuecomment-1421435432
|
|
||||||
//
|
|
||||||
window.addEventListener('error', event => {
|
|
||||||
if(!event.error && (event?.message.includes('ResizeObserver') || event?.message === 'Script error.')) {
|
|
||||||
event.stopImmediatePropagation();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<script type="module" src="${testFramework}"></script>
|
<script type="module" src="${testFramework}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Ładowanie…
Reference in New Issue