OSDN Git Service

Fix the bug of X.NodeAnime.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 12_XClosure.js
index a25dee0..deca998 100644 (file)
@@ -208,21 +208,14 @@ function X_Closure_proxyCallback( xfunc, _args ){
 function X_Closure_correct( f ){\r
        var i = X_CLOSURE_LIVE_LIST.indexOf( f ),\r
                obj;\r
+\r
        if( i !== -1 ){\r
                X_CLOSURE_LIVE_LIST.splice( i, 1 );\r
                X_CLOSURE_POOL_LIST[ X_CLOSURE_POOL_LIST.length ] = f;\r
                obj = f( X_Closure_COMMAND_BACK );\r
-               /*\r
-               delete obj.cbKind;\r
-               if( obj.funcName ) delete obj.funcName;\r
-               if( obj.func ) delete obj.func;\r
-               if( obj.context ) delete obj.context;\r
-               if( obj.supplement ) delete obj.supplement;\r
-               delete obj.proxy; */\r
                X_Object_clear( obj );\r
                return true;\r
        };\r
-       return false;\r
 };\r
 \r
 function X_Closure_monitor(){\r