X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F00_XDoc.js;h=8d71bc0e7ae0cd511d74833b55b38c391eb786f5;hb=486d19a050444ad4d5277fa65a3da437f778ff0f;hp=f4c88bb6f070c6cce356d5bdad9b2157a2d4b76e;hpb=475df4df9670f042764a99c80d7716e994d28033;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/02_dom/00_XDoc.js b/0.6.x/js/02_dom/00_XDoc.js index f4c88bb..8d71bc0 100644 --- a/0.6.x/js/02_dom/00_XDoc.js +++ b/0.6.x/js/02_dom/00_XDoc.js @@ -19,10 +19,10 @@ X[ 'Doc' ] = { }; f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ); - if( !f.kind ){ + if( !f.cbKind ){ X_ViewPort_document[ 'listen' ]( type, this, arg1 ); } else - if( f.kind === X_CLOSURE_FUNC_ONLY ){ + if( f.cbKind === X_CLOSURE_FUNC_ONLY ){ X_ViewPort_document[ 'listen' ]( type, this, f.func, f.supplement ); } else { X_ViewPort_document[ 'listen' ]( type, arg1, arg2, arg3 ); @@ -45,10 +45,10 @@ X[ 'Doc' ] = { }; f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ); - if( !f.kind ){ + if( !f.cbKind ){ X_ViewPort_document[ 'listenOnce' ]( type, this, arg1 ); } else - if( f.kind === X_CLOSURE_FUNC_ONLY ){ + if( f.cbKind === X_CLOSURE_FUNC_ONLY ){ X_ViewPort_document[ 'listenOnce' ]( type, this, f.func, f.supplement ); }; X_ViewPort_document[ 'listenOnce' ]( type, arg1, arg2, arg3 ); @@ -62,10 +62,10 @@ X[ 'Doc' ] = { 'unlisten' : function( type, arg1, arg2, arg3 ){ var f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ); - if( !f.kind ){ + if( !f.cbKind ){ X_ViewPort_document[ 'unlisten' ]( type, this, arg1 ); } else - if( f.kind === X_CLOSURE_FUNC_ONLY ){ + if( f.cbKind === X_CLOSURE_FUNC_ONLY ){ X_ViewPort_document[ 'unlisten' ]( type, this, f.func, f.supplement ); } else { X_ViewPort_document[ 'unlisten' ]( type, arg1, arg2, arg3 ); @@ -80,10 +80,10 @@ X[ 'Doc' ] = { 'listening' : function( type, arg1, arg2, arg3 ){ var f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ); - if( !f.kind ){ + if( !f.cbKind ){ return X_ViewPort_document[ 'listening' ]( type, this, arg1 ); } else - if( f.kind === X_CLOSURE_FUNC_ONLY ){ + if( f.cbKind === X_CLOSURE_FUNC_ONLY ){ return X_ViewPort_document[ 'listening' ]( type, this, f.func, f.supplement ); }; return X_ViewPort_document[ 'listening' ]( type, arg1, arg2, arg3 );