forked from enviPath/enviPy
Current Dev State
This commit is contained in:
18
static/js/ketcher2/node_modules/debug-fabulous/src/debugFabFactory.js
generated
vendored
Normal file
18
static/js/ketcher2/node_modules/debug-fabulous/src/debugFabFactory.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
module.exports = function debugFactory(_debugApi, _options) {
|
||||
var wrapLazyEval = require('./lazy-eval');
|
||||
var formatArgs = require('./formatArgs');
|
||||
|
||||
var options = _options || {
|
||||
formatArgs: true
|
||||
};
|
||||
|
||||
var debugApi = _debugApi ? _debugApi : require('debug');
|
||||
debugApi = wrapLazyEval(debugApi);
|
||||
|
||||
debugApi = formatArgs({
|
||||
debugApi: debugApi,
|
||||
options: options
|
||||
});
|
||||
|
||||
return debugApi;
|
||||
}
|
||||
Reference in New Issue
Block a user