mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated package.json
This commit is contained in:
23
node_modules/broadway/examples/browser/plugins/helloworld.js
generated
vendored
Normal file
23
node_modules/broadway/examples/browser/plugins/helloworld.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
window.HelloWorld = {};
|
||||
|
||||
//
|
||||
// `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();
|
||||
};
|
||||
Reference in New Issue
Block a user