src/filesystem/Directory.js
function _applyAllCallbacks(callbacks, args) {
        if (callbacks.length > 0) {
            var callback = callbacks.pop();
            try {
                callback.apply(undefined, args);
            } finally {
                _applyAllCallbacks(callbacks, args);
            }
        }
    }
function _applyAllCallbacks(callbacks, args) {
        if (callbacks.length > 0) {
            var callback = callbacks.pop();
            try {
                callback.apply(undefined, args);
            } finally {
                _applyAllCallbacks(callbacks, args);
            }
        }
    }
function _applyAllCallbacks ( callbacks , args ) { if ( callbacks . length > 0 ) { var callback = callbacks . pop ( ) ; try { callback . apply ( undefined , args ) ; } finally { _applyAllCallbacks ( callbacks , args ) ; } } }
Apply each callback in a list to the provided arguments. Callbacks
can throw without preventing other callbacks from being applied.

@private
@param {Array.<function>} callbacks The callbacks to apply
@param {Array} args The arguments to which each callback is applied
Apply each callback in a list to the provided arguments . Callbacks can throw without preventing other callbacks from being applied .