jakubrohleder / angular-jsonapi

Simple and lightweight, yet powerful ORM for your frontend that seamlessly integrates with your JsonAPI server.
http://jakubrohleder.github.io/angular-jsonapi/
GNU General Public License v3.0
96 stars 34 forks source link

Error.captureStackTrace is not a function #16

Closed LavaToaster closed 8 years ago

LavaToaster commented 8 years ago

In the source and validation error factories, a call is made to Error.captureStackTrace which doesn't exist in a normal browser.

It causes any validation errors that happen to error out.

I'm unsure if you meant to use something else there, or if they're a relic from something else, so I didn't submit a PR for this.

jakubrohleder commented 8 years ago

To be true I can't remember what was the purpose of this. I suppose it is some kind of relic and can be safely removed.

It would be cool if you submit PR that removes those lines ;).