push all website files

This commit is contained in:
Jacob Levine
2019-01-06 13:14:45 -06:00
parent d7301e26c3
commit d2d5d4c04e
15662 changed files with 2166516 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
'use strict'
var log = require('npmlog')
var progressEnabled
var running = 0
var startRunning = exports.startRunning = function () {
if (progressEnabled == null) progressEnabled = log.progressEnabled
if (progressEnabled) log.disableProgress()
++running
}
var stopRunning = exports.stopRunning = function () {
--running
if (progressEnabled && running === 0) log.enableProgress()
}
exports.tillDone = function noProgressTillDone (cb) {
startRunning()
return function () {
stopRunning()
cb.apply(this, arguments)
}
}