projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/libs/core: added inline documentation to luci.util, reordered and renamed...
[project/luci.git]
/
libs
/
web
/
luasrc
/
template.lua
diff --git
a/libs/web/luasrc/template.lua
b/libs/web/luasrc/template.lua
index
18abf6d
..
dc0ccf6
100644
(file)
--- a/
libs/web/luasrc/template.lua
+++ b/
libs/web/luasrc/template.lua
@@
-180,7
+180,7
@@
function Template.__init__(self, name)
if source then
local compiled, err = compile(source)
- luci.fs.writefile(compiledfile, luci.util.
dump
(compiled))
+ luci.fs.writefile(compiledfile, luci.util.
get_bytecode
(compiled))
self.template = compiled
end
else