mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 20:43:23 +00:00
fix: initialize some modules
This commit is contained in:
parent
4d07f166b6
commit
0c904321f4
6
api.go
6
api.go
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user