scripts/configure.js
function maybeFinish() {
        if (to !== null) clearTimeout(to);
        to = setTimeout(function() {
            var alldone = true;
            var names = Object.keys(files);
            for (var i=0; i<names.length; i++) {
                if (!files[names[i]]["done"]) {
                    alldone = false;
                    break;
                }
            }
            if (alldone && !returned) {
                returned = true;
                callback(null);
            }
        }, 1000);
    }
function maybeFinish() {
        if (to !== null) clearTimeout(to);
        to = setTimeout(function() {
            var alldone = true;
            var names = Object.keys(files);
            for (var i=0; i<names.length; i++) {
                if (!files[names[i]]["done"]) {
                    alldone = false;
                    break;
                }
            }
            if (alldone && !returned) {
                returned = true;
                callback(null);
            }
        }, 1000);
    }
function maybeFinish ( ) { if ( to !== null ) clearTimeout ( to ) ; to = setTimeout ( function ( ) { var alldone = true ; var names = Object . keys ( files ) ; for ( var i = 0 ; i < names . length ; i ++ ) { if ( ! files [ names [ i ] ] [ "done" ] ) { alldone = false ; break ; } } if ( alldone && ! returned ) { returned = true ; callback ( null ) ; } } , 1000 ) ; }
Finishs the unpack if all files are done
Finishs the unpack if all files are done