OSDN Git Service

fix X.UA & X.Audio, add X.KB.
[pettanr/clientJs.git] / 0.6.x / js / 06_net / 04_XNetImage.js
index 1f9ac6d..c7d95d5 100644 (file)
@@ -90,7 +90,7 @@ function X_NET_Image_detect(){
                this._busy  = false;\r
                this.finish = true;\r
                X_Timer_remove( this.timerID );\r
-               this.timerID = this[ 'asyncDispatch' ]( X_EVENT_TIMEOUT );\r
+               this.timerID = this[ 'asyncDispatch' ]( { type : X_EVENT_ERROR, 'timeout' : true } );\r
        };\r
 };\r
 \r
@@ -131,7 +131,6 @@ function X_NET_Image_handleEvent( e ){
 \r
                case X_EVENT_KILL_INSTANCE :\r
                        this.reset();\r
-                       !X_Net_Image_hasImage && this[ 'kill' ](); // if xnode\r
                        break;\r
        };\r
 };\r