X_HTMLParser_asyncParse( html, true )\r
[ 'listen' ]( X_EVENT_PROGRESS,\r
function( e ){\r
- elmProgress.style.width = ( e.percent * 100 | 0 ) + '%';\r
+ elmProgress.style.width = ( e[ 'percent' ] * 100 | 0 ) + '%';\r
}\r
)\r
[ 'listenOnce' ]( X_EVENT_SUCCESS,\r
current = null;\r
};\r
// complete\r
+ console.log( 'xtree 作成完了' );\r
X_ViewPort[ 'asyncDispatch' ]( X_EVENT_XTREE_READY );\r
elmProgress.parentNode ? elmProgress.parentNode.removeChild( elmProgress ) : ( elmProgress.outerHTML = '' );\r
delete X_TEMP.asyncCreateTree;\r
current.xtext = null;\r
\r
if( tag === 'TEXTAREA' ){\r
- xnode.attr( 'value', xnode[ 'html' ]() )[ 'empty' ]();\r
+ xnode[ 'attr' ]( 'value', xnode[ 'html' ]() )[ 'empty' ]();\r
\r
} else\r
if( elm.childNodes && elm.childNodes.length ){\r
current.xtext = null;\r
\r
if( tag === 'TEXTAREA' ){\r
- xnode.attr( 'value', xnode[ 'html' ]() )[ 'empty' ]();\r
+ xnode[ 'attr' ]( 'value', xnode[ 'html' ]() )[ 'empty' ]();\r
} else\r
if( xnode[ '_xnodes' ] && xnode[ '_xnodes' ].length ){\r
return {\r