Skip to content

Commit

Permalink
fix up README.md for hapi 6 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydbenson committed Jul 16, 2014
1 parent 112c799 commit bfcd458
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Expand Up @@ -51,12 +51,16 @@ var options = {
}
};

server.pack.require('good', options, function (err) {

if (!err) {
// Plugin loaded successfully
}
server.pack.register({
plugin: require('good'),
options: options
}, function (err) {
if (err) {
console.log(err);
return;
}
});

```

Disabling console output:
Expand Down

0 comments on commit bfcd458

Please sign in to comment.