0.1.0 • Published 12 years ago

beanie v0.1.0

Weekly downloads
15
License
-
Repository
-
Last release
12 years ago

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
		}
	})
}
0.1.0

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago