X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F00_XDoc.js;h=48251a622b505228cc2cea5869383326128f3eb5;hb=50462b7b22a3c42bdbf2fb84d782937f817368f4;hp=e2fcbf8a99fdc55d1819059fd6c6f889250af0b5;hpb=0231a4fe0d679b2959968193b0fbeebc44531aaf;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 e2fcbf8..48251a6 100644 --- a/0.6.x/js/02_dom/00_XDoc.js +++ b/0.6.x/js/02_dom/00_XDoc.js @@ -12,7 +12,7 @@ X[ 'Doc' ] = { X_ViewPort_document[ 'asyncDispatch' ]( type ); }; type && arg1 && X_ViewPort_document[ 'listen' ]( type, arg1, arg2, arg3 ); - return X.Doc; + return X[ 'Doc' ]; }, @@ -24,12 +24,12 @@ X[ 'Doc' ] = { X_ViewPort_document[ 'asyncDispatch' ]( type ); }; type && arg1 && X_ViewPort_document[ 'listenOnce' ]( type, arg1, arg2, arg3 ); - return X.Doc; + return X[ 'Doc' ]; }, 'unlisten' : function( type, arg1, arg2, arg3 ){ type && arg1 && X_ViewPort_document[ 'unlisten' ]( type, arg1, arg2, arg3 ); - return X.Doc; + return X[ 'Doc' ]; }, 'listening' : function( type, arg1, arg2, arg3 ){ @@ -63,7 +63,7 @@ function X_Doc_create( tag, opt_attrs, opt_css ){ case X_Node_TYPE.HTML_STRING : list = X_HtmlParser_parse( tag, true ); for( i = list.length; 1 < i; ){ - list[ --i ].destroy(); + list[ --i ][ 'kill' ](); }; return list[ 0 ]; };