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.
2 parents 8833b4d + ea5cbd3 commit 6be3ba0Copy full SHA for 6be3ba0
cocos2d/core/CCActionManager.js
@@ -101,7 +101,7 @@ cc.ActionManager = cc.Class.extend(/** @lends cc.ActionManager# */{
101
if(!action)
102
throw new Error("cc.ActionManager.addAction(): action must be non-null");
103
if(!target)
104
- throw new Error("cc.ActionManager.addAction(): action must be non-null");
+ throw new Error("cc.ActionManager.addAction(): target must be non-null");
105
106
//check if the action target already exists
107
var element = this._hashTargets[target.__instanceId];
0 commit comments