You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
424 B

var HelloWorld = exports;
//
// `exports.attach` gets called by broadway on `app.use`
//
HelloWorld.attach = function (options) {
this.hello = function (world) {
console.log("Hello "+ world + options.delimiter || ".");
}
};
//
// `exports.init` gets called by broadway on `app.init`.
//
HelloWorld.init = function (done) {
//
// This plugin doesn't require any initialization step.
//
return done();
};