diff --git a/index.js b/index.js index 97e56dc..4894277 100644 --- a/index.js +++ b/index.js @@ -112,8 +112,9 @@ var addInstructionsToBrowserify = require('./lib/bundler'); * @property {Array.} [bootScripts] List of script files to execute * on boot. * @end + * @param {Function} [callback] Callback function. * - * @header boot(app, [options]) + * @header boot(app, [options], [callback]) */ exports = module.exports = function bootLoopBackApp(app, options, callback) { diff --git a/lib/executor.js b/lib/executor.js index 61d38e8..8680794 100644 --- a/lib/executor.js +++ b/lib/executor.js @@ -7,8 +7,9 @@ var async = require('async'); /** * Execute bootstrap instructions gathered by `boot.compile`. * - * @options {Object} app The loopback app to boot. + * @param {Object} app The loopback app to boot. * @options {Object} instructions Boot instructions. + * @param {Function} [callback] Callback function. * * @header boot.execute(instructions) */