Skip to content

Commit

Permalink
I hate working with JS...
Browse files Browse the repository at this point in the history
  • Loading branch information
s3bba committed Feb 13, 2024
1 parent 2ae0f88 commit 3c3636a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/magnolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ export class Magnolia {

// This restricts the global scope to only have one instance of Magnolia
// Is this a good idea? I honestly don't know, but it's what I'm choosing go with for now
export let magnolia: Magnolia;
export let magnolia: Magnolia;

export function magnolia_instance() {
return magnolia;
}

0 comments on commit 3c3636a

Please sign in to comment.