From 70b119b8eeda1a256eb54cd58c5070cf4b5a1b56 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Jul 2008 20:33:04 +0000 Subject: * luci/libs/core: added inline documentation to luci.util, reordered and renamed functions to logical groups * luci/libs/web: rename dump() to get_bytecode() --- libs/web/luasrc/template.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/luasrc/template.lua') diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index 18abf6df81..dc0ccf6201 100644 --- 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 -- cgit v1.2.3