X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F00_XDoc.js;h=e2fcbf8a99fdc55d1819059fd6c6f889250af0b5;hb=42e0982b02a99c71702ce8cd8740645aefdc8097;hp=c185700bebe277d978e829636dc68fbadde18536;hpb=a130cabd01fde8865990a59d849f5d5d08ed2119;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 c185700..e2fcbf8 100644 --- a/0.6.x/js/02_dom/00_XDoc.js +++ b/0.6.x/js/02_dom/00_XDoc.js @@ -3,42 +3,42 @@ * @namespace X.Doc * @alias X.Doc */ -X.Doc = { - listen : function( type, arg1, arg2, arg3 ){ +X[ 'Doc' ] = { + 'listen' : function( type, arg1, arg2, arg3 ){ if( type <= X_ViewPort_readyState && type === 'DOMContentLoaded' ){ /* * X.Event.XDOM_READY 以後に listen した場合の対策 */ - X_ViewPort_document.asyncDispatch( type ); + X_ViewPort_document[ 'asyncDispatch' ]( type ); }; - type && arg1 && X_ViewPort_document.listen( type, arg1, arg2, arg3 ); + type && arg1 && X_ViewPort_document[ 'listen' ]( type, arg1, arg2, arg3 ); return X.Doc; }, - listenOnce : function( type, arg1, arg2, arg3 ){ + 'listenOnce' : function( type, arg1, arg2, arg3 ){ if( type <= X_ViewPort_readyState && type === 'DOMContentLoaded' ){ /* * X.Event.XDOM_READY 以後に listen した場合の対策 */ - X_ViewPort_document.asyncDispatch( type ); + X_ViewPort_document[ 'asyncDispatch' ]( type ); }; - type && arg1 && X_ViewPort_document.listenOnce( type, arg1, arg2, arg3 ); + type && arg1 && X_ViewPort_document[ 'listenOnce' ]( type, arg1, arg2, arg3 ); return X.Doc; }, - unlisten : function( type, arg1, arg2, arg3 ){ - type && arg1 && X_ViewPort_document.unlisten( type, arg1, arg2, arg3 ); + 'unlisten' : function( type, arg1, arg2, arg3 ){ + type && arg1 && X_ViewPort_document[ 'unlisten' ]( type, arg1, arg2, arg3 ); return X.Doc; }, - listening : function( type, arg1, arg2, arg3 ){ - return X_ViewPort_document.listening( type, arg1, arg2, arg3 ); + 'listening' : function( type, arg1, arg2, arg3 ){ + return X_ViewPort_document[ 'listening' ]( type, arg1, arg2, arg3 ); }, - create : X_Doc_create, + 'create' : X_Doc_create, - createText : X_Doc_createText + 'createText' : X_Doc_createText // html // head