Skip to content

Commit 8802121

Browse files
committed
Merge pull request cocos2d#1831 from dingpinglv/Iss4975_SpineV3
Fixed #4975: rename sp.Skeleton.createWithFile to sp.Skeleton.create
2 parents a448166 + f195b38 commit 8802121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/spine/CCSkeleton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ sp.Skeleton.createWithData = function (skeletonData, ownsSkeletonData) {
395395
return c;
396396
};
397397

398-
sp.Skeleton.createWithFile = function (skeletonDataFile, atlasFile/* or atlas*/, scale) {
398+
sp.Skeleton.create = function (skeletonDataFile, atlasFile/* or atlas*/, scale) {
399399
var c = new sp.Skeleton();
400400
c.initWithArgs.apply(c, arguments);
401401
return c;

0 commit comments

Comments
 (0)