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
|
||||
end
|
||||
|
||||
if not json then
|
||||
json = cjson
|
||||
end
|
||||
local json = require 'cjson'
|
||||
|
||||
require "cocos.cocostudio.StudioConstants"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ THE SOFTWARE.
|
|||
|
||||
]]
|
||||
|
||||
-- lua-5.4
|
||||
if (math.pow == nil) then
|
||||
math.pow = function (x,y)
|
||||
return x ^ y
|
||||
|
|
Loading…
Reference in New Issue