File tree 1 file changed +2
-2
lines changed
extensions/cocostudio/armature/animation
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ ccs.ArmatureAnimation = ccs.ProcessBase.extend(/** @lends ccs.ArmatureAnimation#
527
527
*/
528
528
setMovementEventCallFunc : function ( callFunc , target ) {
529
529
if ( arguments . length == 1 ) {
530
- this . _frameEventListener = target ;
530
+ this . _frameEventListener = callFunc ;
531
531
} else if ( arguments . length == 2 ) {
532
532
this . _movementEventTarget = target ;
533
533
this . _movementEventCallFunc = callFunc ;
@@ -541,7 +541,7 @@ ccs.ArmatureAnimation = ccs.ProcessBase.extend(/** @lends ccs.ArmatureAnimation#
541
541
*/
542
542
setFrameEventCallFunc : function ( callFunc , target ) {
543
543
if ( arguments . length == 1 ) {
544
- this . _frameEventListener = target ;
544
+ this . _frameEventListener = callFunc ;
545
545
} else if ( arguments . length == 2 ) {
546
546
this . _frameEventTarget = target ;
547
547
this . _frameEventCallFunc = callFunc ;
You can’t perform that action at this time.
0 commit comments