Skip to content

Commit

Permalink
fix undefined ref in error
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Nov 14, 2014
1 parent 9315d1f commit cf67183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XMLStringifier.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = class XMLStringifier
xmlEncoding: (val) ->
val = '' + val or ''
if not val.match /[A-Za-z](?:[A-Za-z0-9._-]|-)*/
throw new Error "Invalid encoding: " + options.val
throw new Error "Invalid encoding: " + val
val
xmlStandalone: (val) ->
if val then "yes" else "no"
Expand Down

0 comments on commit cf67183

Please sign in to comment.