mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Clean up.
This commit is contained in:
parent
0a640b4432
commit
dee15d16b3
@ -69,7 +69,7 @@ public class SkeletonJson {
|
||||
if (object == null)
|
||||
throw new ArgumentError("object cannot be null.");
|
||||
|
||||
var root:Object
|
||||
var root:Object;
|
||||
if (object is String)
|
||||
root = JSON.parse(String(object));
|
||||
else if (object is ByteArray)
|
||||
@ -82,7 +82,6 @@ public class SkeletonJson {
|
||||
var skeletonData:SkeletonData = new SkeletonData();
|
||||
skeletonData.name = name;
|
||||
|
||||
|
||||
// Bones.
|
||||
var boneData:BoneData;
|
||||
for each (var boneMap:Object in root["bones"]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user