lib/bundleLocator.js
function (bundleName, filter) {
        var bundle = this._bundles[bundleName];
        if (!bundle) {
            throw new Error('Unknown bundle "' + bundleName + '"');
        }
        return this._walkBundleResources(bundle, filter);
    }
function (bundleName, filter) {
        var bundle = this._bundles[bundleName];
        if (!bundle) {
            throw new Error('Unknown bundle "' + bundleName + '"');
        }
        return this._walkBundleResources(bundle, filter);
    }
Utility method for listing all resources in a bundle.
@method getBundleResources
@param {string} bundleName The name of the bundle.
@param {object} filter Filter for deciding which resources to return.
@param {string|[string]} [filter.extensions] The filesystem extensions (NOT including dot) for which resources to return.
@param {string|[string]} [filter.types] The resources types for which resources to return.
@return {[string]} An array of filesystem paths.