Skip to content

Commit

Permalink
remove outdated information about javascript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stevecrozz committed Nov 17, 2014
1 parent 759a2c9 commit ce1cfb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,22 +389,11 @@ it will be displayed under the *User Details* tab:
Javascript error notifications
--------------------------------------

You can log javascript errors that occur in your application by following the directions below.

# Rails Applications

Add the following line to the `<head>` section of your application template.

```
<%= airbrake_javascript_notifier %>
```

# Other Platforms

include the following before any javascript is loaded in your application.
You can log javascript errors that occur in your application by including the
following script tag before any javascript is loaded in your application.

```
<script src='http://YOUR-ERRBIT-HOST/javascripts/notifier.js' type='text/javascript'></script>
<script src="//YOUR-ERRBIT-HOST/javascripts/notifier.js" type="text/javascript"></script>
```


Expand Down
17 changes: 0 additions & 17 deletions app/views/apps/_configuration_instructions.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,3 @@
config.port = #{request.port}
config.secure = config.port == 443
end

# Set up Javascript notifications
# -------------------------------
#
# To receive notifications for javascript errors,
# you should add <%= airbrake_javascript_notifier %> to the top of your layouts.
#
# Testing
# -------
#
# Rails 2 - you'll need to vendor airbrake to get the rake tasks
# rake gems:unpack GEM=airbrake
#
# Run:
# rake airbrake:test
# refresh this page

0 comments on commit ce1cfb2

Please sign in to comment.