crcn/beanpoll.js — Issue #80: "call" function for regular javascript
Author: crcn
Created: 2012-02-03 05:46:46+00:00
State: open
Labels: maybe

example:

```javascript
router.on({

/**
*/

'call validateUser -> login': function(auth, callback) {
this.next();
}
});

and

router.call.login({ user: 'craig' }, function() {

//do stuff

});

````

arguments would be passed to the query data.