mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	docs: put all code in codeblock for timers example
This commit is contained in:
		
							parent
							
								
									61f6337f5f
								
							
						
					
					
						commit
						f107d1df71
					
				@ -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()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user