Files
code-editor/app/elements/output-frame/injects/on-error.txt
T
2022-03-21 17:43:17 +01:00

3 lines
139 B
Plaintext

window.onerror = function (error) {
parent.document.body.getElementsByTagName("notification-bubbles")[0].add(error, 'syntax-error');
}