Browse files

document opts.longStacks

  • Loading branch information...
1 parent b098457 commit d524ebffdb6b3811064a88d2c918dd3d35306035 @substack committed May 16, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.markdown
@@ -50,15 +50,18 @@ 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.
`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
fry.include(src, opts={})

0 comments on commit d524ebf

Please sign in to comment.