* luci/libs/core: Small translation fix for get_bytecode()

This commit is contained in:
Jo-Philipp Wich 2008-07-24 15:25:52 +00:00
parent 1ff791f765
commit 184b6e6dcc

View file

@ -440,8 +440,8 @@ end
--- Return the current runtime bytecode of the given data. The byte code --- 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. -- will be stripped before it is returned if the given value is a function.
-- @param val Function value to return as bytecode -- @param val Value to return as bytecode
-- @return String value containing the bytecode of the given function -- @return String value containing the bytecode of the given data
function get_bytecode(val) function get_bytecode(val)
if type(val) == "function" then if type(val) == "function" then
local code = string.dump(val) local code = string.dump(val)