JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix typo bugs
authorJason Woofenden <jason@jasonwoof.com>
Thu, 24 Dec 2015 14:07:55 +0000 (09:07 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 24 Dec 2015 14:07:55 +0000 (09:07 -0500)
parse-html.coffee

index f5437c9..3c861ba 100644 (file)
@@ -1651,7 +1651,7 @@ parse_html = (args) ->
                        parse_error()
                        open_els.unshift head_element_pointer
                        ins_mode_in_head t
-                       for el, i of open_els
+                       for el, i in open_els
                                if el is head_element_pointer
                                        open_els.splice i, 1
                                        return
@@ -1721,7 +1721,7 @@ parse_html = (args) ->
                        return unless second.name is 'body'
                        return if template_tag_is_open()
                        flag_frameset_ok = false
-                       for a of t.attrs_a
+                       for a in t.attrs_a
                                second.attrs[a[0]] = a[1] unless second.attrs[a[0]]?
                        return
                if t.type is TYPE_START_TAG and t.name is 'frameset'