loopback-boot/lib
Miroslav Bajtoš b0e5a0bc63 executor: move "booted" and cb() to the next tick
Fix executor to always emit the "booted" event and call the callback
in the next tick of the event loop, regardless of whether there are any
async boot scripts.

Before this change, adding a listener for "booted" event was cumbersome:

    boot(app);
    if (app.booting)
      app.on('booted', handler);
    else
      handler();

With the fix in place, one can simply write the following:

    boot(app);
    app.on('booted', handler);
2016-02-22 11:01:06 +01:00
..
bundler.js add support for mixins 2015-04-24 12:42:56 +05:30
compiler.js Fix lodash 4.0.0 breaking changes 2016-01-18 13:29:46 +01:00
config-loader.js When config is overriden with null don't merge 2016-01-08 22:54:17 +08:00
executor.js executor: move "booted" and cb() to the next tick 2016-02-22 11:01:06 +01:00