lib/bundleLocator.js
function (filter) {
        var self = this,
            ress = [];
        Object.keys(this._bundles).forEach(function (bundleName) {
            var bundle = self._bundles[bundleName];
            self._walkBundleResources(bundle, filter).forEach(function (res) {
                ress.push(res);
            });
        });
        return ress;
    }
function (filter) {
        var self = this,
            ress = [];
        Object.keys(this._bundles).forEach(function (bundleName) {
            var bundle = self._bundles[bundleName];
            self._walkBundleResources(bundle, filter).forEach(function (res) {
                ress.push(res);
            });
        });
        return ress;
    }
Returns a list of resources in all the bundles.
@method getAllResources
@param {object} filter Filter for deciding which resources to list.
@param {string|[string]} [filter.extensions] The filesystem extensions (NOT including dot) to return.
@param {string|[string]} [filter.types] The resources types to return.
@return {[LocatorResource]} An array of resources.