fix: initialize some modules

midnight-edition
sammyette 2024-07-20 14:15:26 -04:00
parent 4d07f166b6
commit 0c904321f4
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 3 additions and 3 deletions

6
api.go
View File

@ -93,7 +93,7 @@ func hilbishLoader(mlr *moonlight.Runtime) moonlight.Value {
//mod.Set(rt.StringValue("os"), rt.TableValue(hshos))
// hilbish.aliases table
//aliases = newAliases()
aliases = newAliases()
//aliasesModule := aliases.Loader(rtm)
//mod.Set(rt.StringValue("aliases"), rt.TableValue(aliasesModule))
@ -112,12 +112,12 @@ func hilbishLoader(mlr *moonlight.Runtime) moonlight.Value {
//mod.Set(rt.StringValue("runner"), rt.TableValue(runnerModule))
// hilbish.jobs table
//jobs = newJobHandler()
jobs = newJobHandler()
//jobModule := jobs.loader(rtm)
//mod.Set(rt.StringValue("jobs"), rt.TableValue(jobModule))
// hilbish.timers table
//timers = newTimersModule()
timers = newTimersModule()
//timersModule := timers.loader(rtm)
//mod.Set(rt.StringValue("timers"), rt.TableValue(timersModule))