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

angular-datatables.js Encoding inconsistencies? #665

Closed
michaelwclark opened this issue Mar 21, 2016 · 2 comments
Closed

angular-datatables.js Encoding inconsistencies? #665

michaelwclark opened this issue Mar 21, 2016 · 2 comments
Labels
Milestone

Comments

@michaelwclark
Copy link

I'm running a custom web server and a fairly large Angular app. Angular-Datatables.js through Bower ( "angular-datatables": "^0.5.3") gives me a handful of errors along the lines of 'Uncaught SyntaxError: Unexpected token {' on Line 1012. If I open up this single file in Sublime and save encoding as Western (Windows 1252) then I do not get this error.

This is the only dependency (of many) that has this issue. There are some odd white space characters showing up in my logs for this file. Once the encoding changes it's fixed.

l-lin added a commit that referenced this issue Mar 22, 2016
@l-lin l-lin added the bug label Mar 22, 2016
@l-lin
Copy link
Owner

l-lin commented Mar 22, 2016

Hopefully, beautifying the dist files should resolve the issue.

@l-lin l-lin closed this as completed Mar 22, 2016
@michaelwclark
Copy link
Author

Awesome thanks. That should do the trick. I'll let you know if I have continued issues.

@l-lin l-lin added this to the v0.5.4 milestone Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants