Remove re-added deprecated properties of Node

This commit is contained in:
pandamicro
2016-03-28 19:35:48 +08:00
parent 850d921fae
commit aab8562bdd
2 changed files with 5 additions and 3 deletions
+5 -1
View File
@@ -1828,6 +1828,11 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{
if (this._reorderChildDirty) {
var _children = this._children;
if (!_children) {
this._reorderChildDirty = false;
return;
}
// insertion sort
var len = _children.length, i, j, child;
for (i = 1; i < len; i++){
@@ -1849,7 +1854,6 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{
_children[j+1] = child;
}
//don't need to check children recursively, that's done in visit of each child
this._reorderChildDirty = false;
this.emit(CHILD_REORDER);
}
-2
View File
@@ -326,7 +326,6 @@ if (CC_DEV) {
'_additionalTransformDirty',
'_shaderProgram',
'shaderProgram',
'_reorderChildDirty',
'_normalizedPositionDirty',
'_normalizedPosition',
'_usingNormalizedPosition',
@@ -338,7 +337,6 @@ if (CC_DEV) {
'setActionManager',
'getScheduler',
'setScheduler',
'sortAllChildren',
'reorderChild',
'draw',
'transformAncestors',