Skip to content

Commit

Permalink
remove 'require'
Browse files Browse the repository at this point in the history
  • Loading branch information
jangabrielsson committed Oct 27, 2021
1 parent 7addf6a commit aaf32a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TQAE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ QuickApp options: (set with --%% directive in file)
--]]

local embedded=... -- get parameters if emulator included from QA code...
local version = "0.38"
local EM = { cfg = embedded or {} }
local cfg,pfvs = EM.cfg
local function DEF(x,y) if x==nil then return y else return x end end
Expand Down Expand Up @@ -149,7 +150,6 @@ do
local stat,mobdebug = pcall(require,'mobdebug'); -- If we have mobdebug, enable coroutine debugging
if stat then mobdebug.coro() end
end
local version = "0.36"

local socket = require("socket")
local http = require("socket.http")
Expand Down
Binary file modified TQAE.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion TQAEmodules/net.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ local function safeJson(e)
else return e end
end

local _mqtt=require("mqtt")
local _mqtt=dofile(EM.cfg.modPath.."mqtt/init.lua")
local mqtt={
interval = 1000,
Client = {},
Expand Down

0 comments on commit aaf32a8

Please sign in to comment.