ok

Mini Shell

Direktori : /opt/alt/alt-nodejs12/root/lib/node_modules/npm/node_modules.bundled/dezalgo/
Upload File :
Current File : //opt/alt/alt-nodejs12/root/lib/node_modules/npm/node_modules.bundled/dezalgo/dezalgo.js

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)
  }
}

Zerion Mini Shell 1.0