From f107d1df71ecd37012dfbca9a75b8a3bb42f2dc6 Mon Sep 17 00:00:00 2001 From: sammyette Date: Wed, 28 Dec 2022 19:33:20 -0400 Subject: [PATCH] docs: put all code in codeblock for timers example --- timerhandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timerhandler.go b/timerhandler.go index 0594c23..df33d36 100644 --- a/timerhandler.go +++ b/timerhandler.go @@ -137,11 +137,11 @@ An example of usage: local t = hilbish.timers.create(1, 5000, function() print 'hello!' end) -``` t:stop() print(t.running, t.duration, t.type) t:start() +``` */ func (th *timersModule) loader(rtm *rt.Runtime) *rt.Table { timerMethods := rt.NewTable()