making everything an arrow function

This commit is contained in:
2023-08-17 17:54:03 +02:00
parent ab482b38b2
commit bf2cb7713d
6 changed files with 110 additions and 118 deletions

View File

@ -431,6 +431,11 @@ export class Editor {
this,
this.universes[this.selected_universe.toString()].init,
)
// Passing the API to the User
Object.entries(this.api).forEach(([name, value]) => {
(globalThis as Record<string, any>)[name] = value;
});
}
get note_buffer() {