src/common/js/winjs/js/base.js
function notifyCurrentDrainListener() {
        var listener = drainQueue.shift();

        if (listener) {
            drainStopping(listener);
            drainQueue[0] && drainStarting(drainQueue[0]);
            listener.complete();
        }
    }
function notifyCurrentDrainListener() {
        var listener = drainQueue.shift();

        if (listener) {
            drainStopping(listener);
            drainQueue[0] && drainStarting(drainQueue[0]);
            listener.complete();
        }
    }
function notifyCurrentDrainListener ( ) { var listener = drainQueue . shift ( ) ; if ( listener ) { drainStopping ( listener ) ; drainQueue [ 0 ] && drainStarting ( drainQueue [ 0 ] ) ; listener . complete ( ) ; } }
Notifies and removes the current drain listener
Notifies and removes the current drain listener