Skip to content

[2.0] Remove app.boot - #350

Merged
bajtos merged 1 commit into
2.0from
remove-app-boot
Jun 26, 2014
Merged

[2.0] Remove app.boot#350
bajtos merged 1 commit into
2.0from
remove-app-boot

Conversation

@bajtos

@bajtos bajtos commented Jun 25, 2014

Copy link
Copy Markdown
Member

Modify app.boot to throw an exception, pointing users to the new
module loopback-boot.

/to @ritch please review

/cc @crandmck this affects the example the documentation and examples:

// current docs
app.boot(__dirname);

// the new way
var boot = require('loopback-boot');
boot(app, __dirname);

Note that loopback-boot can be used with loopback 1.x apps too, thus in theory the changes can be made in both 1.x and 2.x versions of loopback docs.

Depends on: strongloop/loopback-boot#15
Related: #348.

Modify `app.boot` to throw an exception, pointing users to the new
module `loopback-boot`.
@ritch

ritch commented Jun 25, 2014

Copy link
Copy Markdown
Member

LGTM

@bajtos bajtos added this to the 2.0.0 milestone Jun 26, 2014
bajtos added a commit that referenced this pull request Jun 26, 2014
@bajtos
bajtos merged commit 9c32a0f into 2.0 Jun 26, 2014
@bajtos bajtos added the doc label Jul 15, 2014
@bajtos
bajtos deleted the remove-app-boot branch October 29, 2014 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants