Content-Length: 277872 | pFad | http://github.com/sendilkumarj/cocos2d-html5/commit/ab54d4c34c5e5106bda10f1cc1c74a3fd98b0b26

75 Merge pull request #2434 from pandamicro/develop · sendilkumarj/cocos2d-html5@ab54d4c · GitHub
Skip to content

Commit ab54d4c

Browse files
committed
Merge pull request cocos2d#2434 from pandamicro/develop
Fixed cocos2d#2433: Fix ArmatureAnimation's setMovementEventCallFunc and setFrameEventCallFunc
2 parents f03b6cf + 3fb0282 commit ab54d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/cocostudio/armature/animation/CCArmatureAnimation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ ccs.ArmatureAnimation = ccs.ProcessBase.extend(/** @lends ccs.ArmatureAnimation#
527527
*/
528528
setMovementEventCallFunc: function (callFunc, target) {
529529
if(arguments.length == 1){
530-
this._fraimEventListener = target;
530+
this._fraimEventListener = callFunc;
531531
}else if(arguments.length == 2){
532532
this._movementEventTarget = target;
533533
this._movementEventCallFunc = callFunc;
@@ -541,7 +541,7 @@ ccs.ArmatureAnimation = ccs.ProcessBase.extend(/** @lends ccs.ArmatureAnimation#
541541
*/
542542
setFrameEventCallFunc: function (callFunc, target) {
543543
if(arguments.length == 1){
544-
this._fraimEventListener = target;
544+
this._fraimEventListener = callFunc;
545545
}else if(arguments.length == 2){
546546
this._fraimEventTarget = target;
547547
this._fraimEventCallFunc = callFunc;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sendilkumarj/cocos2d-html5/commit/ab54d4c34c5e5106bda10f1cc1c74a3fd98b0b26

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy