Skip to content

Update Backbone, React plugin docs #701

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
Aug 25, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs/integrations/backbone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Backbone
Installation
------------

Start by adding the ``raven.js`` script tag to our page. You'll want to position it
after you load all other external libraries (like jQuery), but before your code.
Start by adding the ``raven.js`` script tag to your page. It should be loaded as early as possible.

.. sourcecode:: html

Expand All @@ -14,11 +13,10 @@ after you load all other external libraries (like jQuery), but before your code.
Configuring the Client
----------------------

Now need to set up Raven.js to use your Sentry DSN:
Next configure Raven.js to use your Sentry DSN:

.. code-block:: javascript

Raven.config('___PUBLIC_DSN___').install()

At this point, Raven is ready to capture any uncaught exception via standard hooks
in addition to Backbone specific hooks.
At this point, Raven is ready to capture any uncaught exception.
5 changes: 2 additions & 3 deletions docs/integrations/react.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ React
Installation
------------

Start by adding the ``raven.js`` script tag to our page. You'll want to position it
after you load all other external libraries (like jQuery), but before your code.
Start by adding the ``raven.js`` script tag to your page. It should be loaded as early as possible.

.. sourcecode:: html

Expand All @@ -14,7 +13,7 @@ after you load all other external libraries (like jQuery), but before your code.
Configuring the Client
----------------------

Now need to set up Raven.js to use your Sentry DSN:
Next configure Raven.js to use your Sentry DSN:

.. code-block:: javascript

Expand Down