mirror of https://github.com/axmolengine/axmol.git
Update lua script
This commit is contained in:
parent
87be236932
commit
600e96c54c
|
@ -2,9 +2,7 @@ if nil == ccs then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not json then
|
local json = require 'cjson'
|
||||||
json = cjson
|
|
||||||
end
|
|
||||||
|
|
||||||
require "cocos.cocostudio.StudioConstants"
|
require "cocos.cocostudio.StudioConstants"
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- lua-5.4
|
||||||
if (math.pow == nil) then
|
if (math.pow == nil) then
|
||||||
math.pow = function (x,y)
|
math.pow = function (x,y)
|
||||||
return x ^ y
|
return x ^ y
|
||||||
|
|
Loading…
Reference in New Issue