Skip to content

Commit 4f730c5

Browse files
committed
Docs: Fix usage example on config page
The example added Raven with the jQuery plugin before jQuery is included. This moves the core Raven script and it's configuration into the body, after jQuery
1 parent d3706bc commit 4f730c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/config/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ Putting it all together
128128
<html>
129129
<head>
130130
<title>Awesome stuff happening here</title>
131+
</head>
132+
<body>
133+
...
134+
<script src="jquery.min.js"></script>
131135
<script src="//cdn.ravenjs.com/|release|/jquery,native/raven.min.js"></script>
132136
<script>
133137
var options = {
@@ -144,10 +148,6 @@ Putting it all together
144148
};
145149
Raven.config('https://public@app.getsentry.com/1', options).install();
146150
</script>
147-
</head>
148-
<body>
149-
...
150-
<script src="jquery.min.js"></script>
151151
<script src="myapp.js"></script>
152152
</body>
153153
</html>

0 commit comments

Comments
 (0)