added two apps, and better implementation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { NotificationBubbles } from "../../codeeditor-app/elements/notification-bubbles/notification-bubbles";
|
||||
|
||||
export function setOnErrorListener(fn: (type: 'syntax-error', value: any) => void) {
|
||||
window.onerror = function (error) {
|
||||
fn('syntax-error', error);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user