Scope compatibility fixes
This commit is contained in:
parent
a4fcc13388
commit
0b34ab07d4
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -32,7 +32,7 @@ local util = require "luci.util"
|
|||
local http = require "luci.http"
|
||||
|
||||
module("luci.dispatcher", package.seeall)
|
||||
context = luci.util.threadlocal()
|
||||
context = util.threadlocal()
|
||||
|
||||
authenticator = {}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ limitations under the License.
|
|||
]]--
|
||||
|
||||
local ltn12 = require "luci.ltn12"
|
||||
local proto = require "luci.http.protocol"
|
||||
local protocol = require "luci.http.protocol"
|
||||
local util = require "luci.util"
|
||||
local string = require "string"
|
||||
local coroutine = require "coroutine"
|
||||
|
|
Loading…
Reference in a new issue