update
This commit is contained in:
parent
e1541f94fa
commit
c1c6dc6505
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function template.escape(data)
|
|||
})
|
||||
end
|
||||
|
||||
function template.new(template_str, args)
|
||||
function template.compile(template_str, args)
|
||||
|
||||
for k, v in pairs(args) do
|
||||
local var = "{{" .. k .. "}}"
|
||||
|
|
Loading…
Add table
Reference in a new issue