lib/bundle.js
function Bundle(baseDirectory, options) {
    this.options = options || {};
    this.name = libpath.basename(baseDirectory);
    this.baseDirectory = baseDirectory;
    this.type = undefined;
    this.files = {};
    this.resources = {};
}
function Bundle(baseDirectory, options) {
    this.options = options || {};
    this.name = libpath.basename(baseDirectory);
    this.baseDirectory = baseDirectory;
    this.type = undefined;
    this.files = {};
    this.resources = {};
}
The Locator walks the filesystem and gives semantic meaning to
files in the application.
@module ModownLocator
 
@class Bundle
@constructor
@param {string} baseDirectory Directory in which a bundle is rooted.
@param {object} options Options for how the configuration files are handled.