This repository was archived by the owner on May 25, 2019. It is now read-only.
minor release
introducing locatorObj.ready (pr #15) where locatorObj.ready is a promise that will be fulfillled or rejected by parseBundle(). Here is an example:
locatorObj = new Locator({
buildDirectory: __dirname + '/build'
});
locatorObj.plug(new LocatorHandlebars({ format: 'yui' }));
locatorObj.parseBundle(__dirname);
locatorObj.ready.then(function () {
// `locator.getRootBundle();` has all the data about the app
}, function (err) {
// `parseBundle()` failed big!
});