Commit Graph

1 Commits (e06b5d7af7619e9234bb7eb8a9d66b3c7d245ad9)

Author SHA1 Message Date
Ben Noordhuis ac722bbed6 module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.

Fixes #1440.
2011-08-04 16:52:55 +02:00