beanie
v0.1.0
Published
haba + beanpoll
Downloads
6
Readme
Example
var beanie = require('beanie').loader();
beanie.
require(__dirname + "/path/to/plugin.js").
require(__dirname + "/path/to/dir").
require(__dirname + "/path/to/**/*.plugin.js").
load(function() {
beanie.router.push('init');
})
Plugin example:
exports.plugin = function(router) {
router.on({
'push init': function() {
//do something
}
})
}