Skip to content

Add a note about window.JSON dependency #199

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

Merged
merged 1 commit into from
Apr 8, 2014

Conversation

j-manu
Copy link
Contributor

@j-manu j-manu commented Apr 7, 2014

Raven discards errors when window.JSON is not present. Since IE support for window.JSON is deponent on documents mode even on recent versions, it is better to let the user know about it

~~~~~~~~~~~~

Raven expects the browser to provide `window.JSON` and `window.JSON.stringify`. In Internet Explorer 8+ these are available in `standards mode <http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx>`_.
You can also use `json2.js <https://github.com/douglascrockford/JSON-js>`_ to provie the JSON implementation in browsers/modes which doesn't support native JSON
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide

@mattrobenolt
Copy link
Contributor

Good call. I assumed this was a non-issue anymore. :) But I guess that was a poor assumption.

@mattrobenolt
Copy link
Contributor

Can you fill the typo and I'll pull in?

Raven discards errors when window.JSON is not present. Since IE support for window.JSON is deponent on documents mode even on recent versions, it is better to let the user know about it
@j-manu
Copy link
Contributor Author

j-manu commented Apr 7, 2014

@mattrobenolt I just did :)

mattrobenolt added a commit that referenced this pull request Apr 8, 2014
Add a note about window.JSON dependency
@mattrobenolt mattrobenolt merged commit ca6f081 into getsentry:master Apr 8, 2014
@j-manu j-manu deleted the patch-1 branch April 8, 2014 17:36
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

Successfully merging this pull request may close these issues.

2 participants