mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
Add example docs for LDoc
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
--- Component to handle GUI timers
|
||||
-- @module base.timer
|
||||
|
||||
local data = require("druid.data")
|
||||
local formats = require("druid.helper.formats")
|
||||
local helper = require("druid.helper")
|
||||
@@ -9,6 +12,7 @@ M.interest = {
|
||||
|
||||
local empty = function() end
|
||||
|
||||
|
||||
function M.init(self, node, seconds_from, seconds_to, callback)
|
||||
self.node = helper.get_node(node)
|
||||
seconds_from = math.max(seconds_from, 0)
|
||||
|
Reference in New Issue
Block a user