X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F09_XHTMLParser.js;h=27f2164c5d295b88838a8291db849b543554853d;hb=a720658bd6302a1bd5efae47333b6df793370f3d;hp=11a3aa724d387201ce1418f844ce34db06b75891;hpb=f24f3611a2525a2a4751a02aead9d3f69bb115d0;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/02_dom/09_XHTMLParser.js b/0.6.x/js/02_dom/09_XHTMLParser.js index 11a3aa7..27f2164 100644 --- a/0.6.x/js/02_dom/09_XHTMLParser.js +++ b/0.6.x/js/02_dom/09_XHTMLParser.js @@ -120,7 +120,7 @@ var X_HTMLParser_CHARS = { return; }; - if( async && startTime + 15 <= X_Timer_now() && html ){ + if( async && startTime + X_Timer_INTERVAL_TIME <= X_Timer_now() && html ){ handler.progress( 1 - html.length / async[ 0 ] ); X_Timer_once( 0, X_HTMLParser_exec, [ html, handler, async ] ); return; @@ -175,8 +175,8 @@ var X_HTMLParser_CHARS = { ( ( phase = 5 ) && ( attrName = html.substring( start, i ) ) ); break; case 5 : // 属性の = または次の属性または htmlタグの閉じ - ( whiteSpace[ chr ] & 16 ) ?// ie4 未対応の属性には cite = http:// となる - 1 : + !( whiteSpace[ chr ] & 16 ) &&// ie4 未対応の属性には cite = http:// となる + // 1 : ( alphabets[ chr ] & 3 ) ? ( ( phase = 4 ) && ( attrs[ attrs.length ] = attrName ) && ( start = i ) ) : chr === '=' ?