Skip to content

Commit 7bbab6e

Browse files
committed
Merge pull request #81 from cine-io/patch-1
Modified CoffeeScript example to use CoffeeScript
2 parents e7f43d9 + 6f2e3e1 commit 7bbab6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ Error.prepareStackTrace you might run into the exception "Traceback does not sup
187187
In order to not have raven-node (and the underlying raw-stacktrace library) require
188188
Traceback you can pass your own stackFunction in the options. For example:
189189

190-
```javascript
191-
var client = new raven.Client('{{ SENTRY_DSN }}', { stackFunction: {{ Your stack function }}});
190+
```coffeescript
191+
client = new raven.Client('{{ SENTRY_DSN }}', { stackFunction: {{ Your stack function }}});
192192
```
193193

194194
So for example:
195-
```javascript
196-
var client = new raven.Client('{{ SENTRY_DSN }}', {
195+
```coffeescript
196+
client = new raven.Client('{{ SENTRY_DSN }}', {
197197
stackFunction: Error.prepareStackTrace
198198
});
199199
```

0 commit comments

Comments
 (0)