File: index.html

package info (click to toggle)
node-raven-js 3.22.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,864 kB
  • sloc: javascript: 10,128; makefile: 144; python: 34
file content (46 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html>
<head>
    <title>Scratch Disk</title>
</head>
<script src="../build/raven.js"></script>
<!-- <script src="scratch.min.js"></script> -->
<script src="scratch.js" crossorigin></script>
<script src="file.min.js" crossorigin></script>
<script>
//cool
//really cool
//awesome
Raven.config('http://50dbe04cd1224d439e9c49bf1d0464df@localhost:8000/1', {
    whitelistUrls: [
        /localhost/,
        /127\.0\.0\.1/
    ]
}).install();
Raven.debug = true;

Raven.setUserContext({
    email: 'me@example.com',
    id: 5
});


</script>
<body>
<button id="test">Break me</button>
<script>ready()</script>

<button onclick="divide(1, 0)">Sourcemap breakage</button>
<button onclick="derp()">window.onerror</button>
<button onclick="testOptions()">test options</button>
<button onclick="throwEval()">throw eval</button>
<button onclick="testSynthetic()">test synthetic</button>
<button onclick="throwString()">throw string</button>
<button onclick="showDialog()">show dialog</button>
<button onclick="captureMessage()">capture message</button>
<button onclick="captureException()">capture exception</button>
<button onclick="blobExample()">blob example</button>
<input/>

</body>
</html>