doc(fix): avoid module keyword
This commit is contained in:
1 parent
2e417cfbd8
commit
cc425287da
1 file changed
+3
-3
+3
-3
@@ -30,9 +30,9 @@ function Dbg:turnOn()
|
||||
self.is_on = true
|
||||
|
||||
Dbg_mt.__call = function(dbg, ...) LvDEBUG(math.huge, ...) end
|
||||
Dbg.guard = function(_, module, method, pre_guard, post_guard)
|
||||
local old_method = module[method]
|
||||
module[method] = function(...)
|
||||
Dbg.guard = function(_, mod, method, pre_guard, post_guard)
|
||||
local old_method = mod[method]
|
||||
mod[method] = function(...)
|
||||
if pre_guard then
|
||||
pre_guard(...)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user