Skip to content

Commit 8e16c88

Browse files
committed
Add a note about window.JSON dependency
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
1 parent 2e2b5bc commit 8e16c88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/install/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,8 @@ We also provide a way to deploy Raven via `bower
4545

4646
Also note that the file is uncompresed but is ready to pass to any decent JavaScript compressor like `uglify <https://github.com/mishoo/UglifyJS2>`_.
4747

48+
Requirements
49+
~~~~~~~~~~~~
50+
51+
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>`_.
52+
You can also use `json2.js <https://github.com/douglascrockford/JSON-js>`_ to provide the JSON implementation in browsers/modes which doesn't support native JSON

0 commit comments

Comments
 (0)