We still had this here:
it starts immediately.

var Todo = new Class({
    Implements: Chain,
    initialize: function() {
        this.chain.apply(this, arguments);
        this.callChain();
    }
});

var myTodoList = new Todo(
    function() {...
       alert('get groceries');
        this.callChain.delay(500, this);
    }, function() {
      alert('go workout');
       this.callChain.delay(3000, this);
    }, function() {
       alert('code mootools...');
        this.callChain.delay(500, this);
    }, function() {
       alert('sleep')
    }
);

cheers hamburger

Reply via email to