Navigation Menu

Skip to content

Commit

Permalink
Make compatible with JS strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Ehlert committed Aug 6, 2015
1 parent f606e9f commit 819939e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xml2js.coffee
Expand Up @@ -155,11 +155,11 @@ class exports.Builder
else
element = element.ele(key, entry).up()
else
element = arguments.callee(element.ele(key), entry).up()
element = render(element.ele(key), entry).up()

# Case #4 Objects
else if typeof child is "object"
element = arguments.callee(element.ele(key), child).up()
element = render(element.ele(key), child).up()

# Case #5 String and remaining types
else
Expand Down

0 comments on commit 819939e

Please sign in to comment.