Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants