Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
nkallen committed Oct 26, 2013
1 parent 8f0f653 commit 9dd5871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/annotator.coffee
Expand Up @@ -102,6 +102,7 @@ class FailoverAnnotator extends Annotator

if !token && !@secondaryAnnotator.eof()
[token, remainder] = @secondaryAnnotator.one(remainder)

[token, remainder]
reset: (pos) ->
@primaryAnnotator.reset(pos)
Expand Down
1 change: 1 addition & 0 deletions lib/dom.coffee
Expand Up @@ -4,6 +4,7 @@ class ElementShim
@attributes ?= {}
@children = []
nodeType: 1
name: -> @tagName
getAttribute: (attribute) ->
if @attributes.hasOwnProperty(attribute) && @attributes[attribute] != undefined
@attributes[attribute].toString()
Expand Down

0 comments on commit 9dd5871

Please sign in to comment.