OSDN Git Service

Verison 0.6.198, add jsdoc commnets.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 09_XHTMLParser.js
index 11a3aa7..27f2164 100644 (file)
@@ -120,7 +120,7 @@ var X_HTMLParser_CHARS = {
                                return;\r
                        };\r
                        \r
-                       if( async && startTime + 15 <= X_Timer_now() && html ){\r
+                       if( async && startTime + X_Timer_INTERVAL_TIME <= X_Timer_now() && html ){\r
                                handler.progress( 1 - html.length / async[ 0 ] );\r
                                X_Timer_once( 0, X_HTMLParser_exec, [ html, handler, async ] );\r
                                return;\r
@@ -175,8 +175,8 @@ var X_HTMLParser_CHARS = {
                                                ( ( phase = 5 ) && ( attrName = html.substring( start, i ) ) );\r
                                        break;\r
                                case 5 : // 属性の = または次の属性または htmlタグの閉じ\r
-                                       ( whiteSpace[ chr ] & 16 ) ?// ie4 未対応の属性には cite = http:// となる\r
-                                               1 :\r
+                                       !( whiteSpace[ chr ] & 16 ) &&// ie4 未対応の属性には cite = http:// となる\r
+                                       //      1 :\r
                                        ( alphabets[ chr ] & 3 ) ?\r
                                                ( ( phase = 4 ) && ( attrs[ attrs.length ] = attrName ) && ( start = i ) ) :\r
                                        chr === '=' ?\r