Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega-Ariston committed Feb 26, 2020
1 parent 8fc5b92 commit 23c218a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/builder.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class exports.Builder
@options[key] = value for own key, value of opts

buildObject: (rootObj) ->
@build(rootObj).end(@options.renderOpts)

build: (rootObj) ->
attrkey = @options.attrkey
charkey = @options.charkey

Expand Down Expand Up @@ -99,4 +102,4 @@ class exports.Builder
headless: @options.headless
allowSurrogateChars: @options.allowSurrogateChars)

render(rootElement, rootObj).end(@options.renderOpts)
render(rootElement, rootObj)

0 comments on commit 23c218a

Please sign in to comment.