Commit ac722bbe authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

module: strip byte order marker when loading *.js and *.json files

BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.

Fixes #1440.
parent f9cfd709
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment