Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strip BOM from included utf-8 files #6

Closed
thejoshwolfe opened this issue Sep 5, 2012 · 1 comment
Closed

strip BOM from included utf-8 files #6

thejoshwolfe opened this issue Sep 5, 2012 · 1 comment

Comments

@thejoshwolfe
Copy link

I'm trying to depend on files from http://box2d-js.sourceforge.net/ and they all start with a UTF-8 BOM, which causes Chrome to say Uncaught SyntaxError: Unexpected token ILLEGAL.

For now, I'll just delete the BOM's, because they're pointless and troublesome. But this should really be the job of jspackage, because BOM's are sorta tolerable at the beginnings of files, but never in the middles of files.

@andrewrk
Copy link
Owner

andrewrk commented Sep 5, 2012

update to 0.4.8 for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants