Don't warn user about API deprecation

This commit is contained in:
pandamicro 2016-06-28 12:11:21 +08:00
parent e7e365a00f
commit d46cd96896
1 changed files with 2 additions and 4 deletions

View File

@ -66,10 +66,8 @@ var cc = cc || {};
cc.Node.prototype.setLocalZOrder.apply(this, arguments);
};
cc.Node.prototype.ignoreAnchorPointForPosition = function() {
logW("cc.Node.ignoreAnchorPointForPosition", "cc.Node.setIgnoreAnchorPointForPosition");
cc.Node.prototype.setIgnoreAnchorPointForPosition.apply(this, arguments);
};
// Not deprecated in the web engine yet, so no need to log
cc.Node.prototype.ignoreAnchorPointForPosition = cc.Node.prototype.setIgnoreAnchorPointForPosition;
cc.Node.prototype.nodeToParentTransform = function() {
logW("cc.Node.nodeToParentTransform", "cc.Node.getNodeToParentTransform");