Hi guys, basically, I'm trying to implement an standalone chain controller to my project, but the official sample code seems not working, and I can't find why. How should I create a set of functions to be executed one after each? @@"
var Todo = new Class({ Implements: Chain, initialize: function(){ this.chain.apply(this, arguments); } }); var myTodoList = new Todo( function(){ alert('get groceries'); }, function(){ alert('go workout'); }, function(){ alert('code mootools documentation until eyes close involuntarily'); }, function(){ alert('sleep'); } );