Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

minor release

Choose a tag to compare

@caridy caridy released this 25 Oct 08:51
· 76 commits to master since this 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!
});