We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2083141 commit ea5cbd3Copy full SHA for ea5cbd3
cocos2d/core/CCActionManager.js
@@ -116,7 +116,7 @@ cc.ActionManager = cc.Class.extend(/** @lends cc.ActionManager# */{
116
if(!action)
117
throw new Error("cc.ActionManager.addAction(): action must be non-null");
118
if(!target)
119
- throw new Error("cc.ActionManager.addAction(): action must be non-null");
+ throw new Error("cc.ActionManager.addAction(): target must be non-null");
120
121
//check if the action target already exists
122
var element = this._hashTargets[target.__instanceId];
0 commit comments