ability to build executables

This commit is contained in:
Craig Condon
2011-11-26 17:00:12 -06:00
parent 6f0534f433
commit c018684658
334 changed files with 27831 additions and 2 deletions
+46
View File
@@ -0,0 +1,46 @@
var beanpole = require('../../lib/node').router();
beanpole.on({
'pull name': function()
{
setTimeout(function()
{
beanpole.push('name', function()
{
return "SLAYERS!";
});
beanpole.push('name', 'PUSH');
// beanpole.push('name', 'PUSH');
// beanpole.push('name', 'PUSH');
// beanpole.push('name', 'PUSH');
// beanpole.push('name', 'PUSH');
}, 100);
return 'PULL';
},
'push /*': function()
{
console.log("PUSH INITIALIZED!");
this.next();
},
'push through': function(data)
{
console.log("delay!")
setTimeout(function(self){ self.next(); }, 500, this)
},
'push -pull name': function(name)
{
console.log(name)
},
'push -pull name': function(name)
{
console.log(name)
},
/*'push name': function(name)
{
console.log(name +' PUSH')
}*/
});