D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs16
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
dezalgo
/
Filename :
dezalgo.js
back
Copy
var wrappy = require('wrappy') module.exports = wrappy(dezalgo) var asap = require('asap') function dezalgo (cb) { var sync = true asap(function () { sync = false }) return function zalgoSafe() { var args = arguments var me = this if (sync) asap(function() { cb.apply(me, args) }) else cb.apply(me, args) } }