Commit ce1cfb2f690d9e8665791205d769f4079c7c5d87
1 parent
759a2c9a
Exists in
master
and in
1 other branch
remove outdated information about javascript errors
Showing
2 changed files
with
3 additions
and
31 deletions
Show diff stats
README.md
| @@ -389,22 +389,11 @@ it will be displayed under the *User Details* tab: | @@ -389,22 +389,11 @@ it will be displayed under the *User Details* tab: | ||
| 389 | Javascript error notifications | 389 | Javascript error notifications |
| 390 | -------------------------------------- | 390 | -------------------------------------- |
| 391 | 391 | ||
| 392 | -You can log javascript errors that occur in your application by following the directions below. | ||
| 393 | - | ||
| 394 | -# Rails Applications | ||
| 395 | - | ||
| 396 | -Add the following line to the `<head>` section of your application template. | ||
| 397 | - | ||
| 398 | -``` | ||
| 399 | -<%= airbrake_javascript_notifier %> | ||
| 400 | -``` | ||
| 401 | - | ||
| 402 | -# Other Platforms | ||
| 403 | - | ||
| 404 | -include the following before any javascript is loaded in your application. | 392 | +You can log javascript errors that occur in your application by including the |
| 393 | +following script tag before any javascript is loaded in your application. | ||
| 405 | 394 | ||
| 406 | ``` | 395 | ``` |
| 407 | -<script src='http://YOUR-ERRBIT-HOST/javascripts/notifier.js' type='text/javascript'></script> | 396 | +<script src="//YOUR-ERRBIT-HOST/javascripts/notifier.js" type="text/javascript"></script> |
| 408 | ``` | 397 | ``` |
| 409 | 398 | ||
| 410 | 399 |
app/views/apps/_configuration_instructions.html.haml
| @@ -19,20 +19,3 @@ | @@ -19,20 +19,3 @@ | ||
| 19 | config.port = #{request.port} | 19 | config.port = #{request.port} |
| 20 | config.secure = config.port == 443 | 20 | config.secure = config.port == 443 |
| 21 | end | 21 | end |
| 22 | - | ||
| 23 | - # Set up Javascript notifications | ||
| 24 | - # ------------------------------- | ||
| 25 | - # | ||
| 26 | - # To receive notifications for javascript errors, | ||
| 27 | - # you should add <%= airbrake_javascript_notifier %> to the top of your layouts. | ||
| 28 | - # | ||
| 29 | - # Testing | ||
| 30 | - # ------- | ||
| 31 | - # | ||
| 32 | - # Rails 2 - you'll need to vendor airbrake to get the rake tasks | ||
| 33 | - # rake gems:unpack GEM=airbrake | ||
| 34 | - # | ||
| 35 | - # Run: | ||
| 36 | - # rake airbrake:test | ||
| 37 | - # refresh this page | ||
| 38 | - |