@@ -1460,7 +1460,6 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
14601460 }
14611461
14621462 // If you don't do cleanup, the child's actions will not get removed and the
1463- // its scheduledSelectors_ dict will not get released!
14641463 if ( doCleanup )
14651464 child . cleanup ( ) ;
14661465
@@ -1614,7 +1613,6 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
16141613 * @return {cc.Action } An Action pointer
16151614 */
16161615 runAction : function ( action ) {
1617-
16181616 cc . assert ( action , cc . _LogInfos . Node_runAction ) ;
16191617
16201618 this . actionManager . addAction ( action , this , ! this . _running ) ;
@@ -1726,7 +1724,6 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
17261724 interval = interval || 0 ;
17271725
17281726 cc . assert ( callback_fn , cc . _LogInfos . Node_schedule ) ;
1729-
17301727 cc . assert ( interval >= 0 , cc . _LogInfos . Node_schedule_2 ) ;
17311728
17321729 repeat = ( repeat == null ) ? cc . REPEAT_FOREVER : repeat ;
@@ -1753,7 +1750,6 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
17531750 * @param {function } callback_fn A function wrapped as a selector
17541751 */
17551752 unschedule : function ( callback_fn ) {
1756- // explicit nil handling
17571753 if ( ! callback_fn )
17581754 return ;
17591755
@@ -2668,7 +2664,7 @@ if (cc._renderType === cc._RENDER_TYPE_CANVAS) {
26682664 } ;
26692665
26702666 _p . _transformForRenderer = function ( ) {
2671- var t = this . nodeToParentTransform ( ) , worldT = this . _transformWorld ;
2667+ var t = this . getNodeToParentTransform ( ) , worldT = this . _transformWorld ;
26722668 if ( this . _parent ) {
26732669 var pt = this . _parent . _transformWorld ;
26742670 //worldT = cc.AffineTransformConcat(t, pt);
0 commit comments