summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc/cbi.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-29 21:58:39 +0000
committerSteven Barth <steven@midlink.org>2008-11-29 21:58:39 +0000
commit0b34ab07d4834e7b8329f50a3fe64df3ae232053 (patch)
treecdc2417e8e9666ee73aa244405e5f6c73fe66a0d /libs/cbi/luasrc/cbi.lua
parenta4fcc13388f2795b83921d1f0bd85b4d1d49ac7e (diff)
Scope compatibility fixes
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r--libs/cbi/luasrc/cbi.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index 0808fb1b7..d19e0eb73 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -27,15 +27,15 @@ limitations under the License.
module("luci.cbi", package.seeall)
require("luci.template")
-require("luci.util")
+local util = require("luci.util")
require("luci.http")
require("luci.uvl")
require("luci.fs")
--local event = require "luci.sys.event"
local uci = require("luci.model.uci")
-local class = luci.util.class
-local instanceof = luci.util.instanceof
+local class = util.class
+local instanceof = util.instanceof
FORM_NODATA = 0
FORM_PROCEED = 0