[Pkg-javascript-commits] [node-stack-utils] 37/67: Add documentation for wrapCallSite option
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Sep 7 09:53:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stack-utils.
commit 1994d28f7b8f75635f6c303cef27a252e08ffdbf
Author: Ben McCurdy <bpmccurdy at gmail.com>
Date: Mon Oct 24 15:18:32 2016 -0700
Add documentation for wrapCallSite option
---
readme.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/readme.md b/readme.md
index 44b6a8c..d119c25 100644
--- a/readme.md
+++ b/readme.md
@@ -47,6 +47,12 @@ Type: `string`
The path to the current working directory. File names in the stack trace will be shown relative to this directory.
+##### wrapCallSite
+
+Type: `function(CallSite)`
+
+A function that will wrap the CallSite processed by the `StackUtils.capture()` function. The CallSite gets passed as a parameter to this function, and the function should return a new object wrapping the CallSite. Providing a CallSite wrapper enables the use of StackUtils with a source mapping module.
+
### StackUtils.nodeInternals()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stack-utils.git
More information about the Pkg-javascript-commits
mailing list