0.1.0 • Published 13 years ago

beanie v0.1.0

Weekly downloads
15
License
-
Repository
-
Last release
13 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

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago