Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

document opts.longStacks

  • Loading branch information...
commit d524ebffdb6b3811064a88d2c918dd3d35306035 1 parent b098457
@substack authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.markdown
View
7 README.markdown
@@ -50,8 +50,8 @@ methods
var fritter = require('fritter')
```
-var fry = fritter(src, context={})
---------------------------------
+var fry = fritter(src, context={}, opts={})
+-------------------------------------------
Return a `fry` object given some optional javascript source `src` and some
`context` to execute in and populate.
@@ -59,6 +59,9 @@ Return a `fry` object given some optional javascript source `src` and some
`fry` emits `'error'` events with the error object and the present callstack as
arguments when exceptions in `src` are thrown.
+If `opts.longStacks` is true, turn on longer stack traces for a performance
+penalty.
+
fry.include(src, opts={})
-------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.