Skip to content

Commit

Permalink
Update DemoController.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xunuoi authored Mar 14, 2017
1 parent 264937a commit 99b2193
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions demo/DemoController.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ function articlePagelet(bigpipe){
}

/**
* Here call the Express/Sails `render` api
*
* It's async API.
* It's async API. It will call `render` API inside the `node-bigpipe` module.
*/
bigpipe.res.render('view/article', rdata, (err, html)=>{

Expand Down

0 comments on commit 99b2193

Please sign in to comment.