- Update.js.lua
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
__requestQueue = {}
|
local __requestQueue = {}
|
||||||
_requestCount = 0
|
local _requestCount = 0
|
||||||
_Request =
|
local _Request =
|
||||||
{
|
{
|
||||||
command = "",
|
command = "",
|
||||||
currentTime = 0,
|
currentTime = 0,
|
||||||
@@ -11,7 +11,7 @@ local os = love.system.getOS()
|
|||||||
local __defaultErrorFunction = nil
|
local __defaultErrorFunction = nil
|
||||||
local isDebugActive = false
|
local isDebugActive = false
|
||||||
|
|
||||||
JS = {}
|
local JS = {}
|
||||||
|
|
||||||
function JS.callJS(funcToCall)
|
function JS.callJS(funcToCall)
|
||||||
if(os == "Web") then
|
if(os == "Web") then
|
||||||
@@ -156,3 +156,5 @@ JS.callJS(JS.stringFunc(
|
|||||||
__getWebDB("%s");
|
__getWebDB("%s");
|
||||||
]]
|
]]
|
||||||
, "__LuaJSDB"))
|
, "__LuaJSDB"))
|
||||||
|
|
||||||
|
return JS
|
||||||
Reference in New Issue
Block a user