文件名称:loaded-bases
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-09 23:32:38
JavaScript
装基数 诊断双重回调的模块 用 var lb = require('loaded-bases'); functionToDiagnose('arg', lb(function(err, result) { // Will only be called once, and a warning will be emitted if something tries to call it again. Stacks will be included. })); functionToDiagnose('arg', lb(function(err, result) { // Will only be called once }, function (last, now) { // last is the stack of the first call, now is the
【文件预览】:
loaded-bases-master
----.gitignore(19B)
----README.md(501B)
----package.json(600B)
----index.js(425B)
----test.js(500B)