* luci/libs/core: Small translation fix for get_bytecode()
This commit is contained in:
parent
1ff791f765
commit
184b6e6dcc
1 changed files with 2 additions and 2 deletions
|
@ -440,8 +440,8 @@ end
|
|||
|
||||
--- Return the current runtime bytecode of the given data. The byte code
|
||||
-- will be stripped before it is returned if the given value is a function.
|
||||
-- @param val Function value to return as bytecode
|
||||
-- @return String value containing the bytecode of the given function
|
||||
-- @param val Value to return as bytecode
|
||||
-- @return String value containing the bytecode of the given data
|
||||
function get_bytecode(val)
|
||||
if type(val) == "function" then
|
||||
local code = string.dump(val)
|
||||
|
|
Loading…
Reference in a new issue