Skip to content

Commit d7ff0bc

Browse files
committed
Move testOptions into scratch.js
1 parent 8626b8b commit d7ff0bc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

example/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
id: 5
2020
})
2121

22-
function testOptions() {
23-
Raven.context({tags: {foo: 'bar'}}, function() {
24-
throw new Error('foo');
25-
});
26-
}
27-
2822
</script>
2923
<body>
3024
<button id="test">Break me</button>

example/scratch.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ function somethingelse() {
3030
function derp() {
3131
fdas[0];
3232
}
33+
34+
function testOptions() {
35+
Raven.context({tags: {foo: 'bar'}}, function() {
36+
throw new Error('foo');
37+
});
38+
}

0 commit comments

Comments
 (0)