OSDN Git Service

Version 0.6.169, add doc comment.
[pettanr/clientJs.git] / 0.6.x / js / 06_net / 00_XNet.js
index fa1a6d4..d69d68a 100644 (file)
@@ -235,10 +235,10 @@ function X_NET_proxyDispatch( e ){
        switch( e.type ){\r
                case X_EVENT_KILL_INSTANCE :\r
                        if( this === X_NET_currentQueue && X_NET_completePhase ){\r
-                               if( X_NET_completePhase === 1 )\r
+                               if( X_NET_completePhase === 1 ){\r
                                        this[ 'unlisten' ]( X_EVENT_COMPLETE, X_NET_proxyDispatch )\r
                                                [ 'dispatch' ]( X_EVENT_COMPLETE );\r
-                               this.kill();//test\r
+                               };\r
                                X_NET_shiftQueue();\r
                                X_Pair_release( this );\r
                                X_NET_completePhase = 0;\r
@@ -328,7 +328,7 @@ function X_NET_shiftQueue(){
                                        case 0 :\r
                                        case 1 :\r
                                        case 2 :\r
-                                               if( !( auth[ 'dispatch' ]( X_EVENT_NEED_AUTH ) & X_Callback_PREVENT_DEFAULT ) ){\r
+                                               if( !( auth[ 'dispatch' ]( X_EVENT_NEED_AUTH ) & X_CALLBACK_PREVENT_DEFAULT ) ){\r
                                                        authSettings.lazyRequests = authSettings.lazyRequests || [];\r
                                                        authSettings.lazyRequests.indexOf( X_NET_currentQueue ) === -1 && authSettings.lazyRequests.push( X_NET_currentQueue );\r
                                                };\r