mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 02:58:44 +08:00
Change null to nil
nil is the actual keyword. 'null' works in non strict mode as all undeclared variables are considered 'nil' in non strict mode.
This commit is contained in:
parent
f6e4027ef1
commit
87f5bedead
@ -45,8 +45,8 @@ function RegionAttachment.new (name)
|
||||
offset = {},
|
||||
uvs = {},
|
||||
r = 1, g = 1, b = 1, a = 1,
|
||||
path = null,
|
||||
rendererObject = null,
|
||||
path = nil,
|
||||
rendererObject = nil,
|
||||
regionOffsetX = 0, regionOffsetY = 0,
|
||||
regionWidth = 0, regionHeight = 0,
|
||||
regionOriginalWidth = 0, regionOriginalHeight = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user