On 01/12/11 11:32, Robert wrote:
> Sorry - second question solved.

Wouldn't it be good to share the solution? Just in case

> 
> On Jan 12, 12:00 pm, Robert <[email protected]> wrote:
>> I started to mess with chain a little, and encountered two problems:
>>
>> first: is there a way to execute all fn in chain or even better -
>> execute them as they are added, only in queue?
>> Right now I am doing this:
>> while (this.$chain.length) {
>>             this.callChain();}
>>
>> and it does the trick but maybe I am missing something in mootools
>> code?

you may callChain at the end of the function in queue

>>
>> second:
>> in fiddle:
>>
>> http://jsfiddle.net/SLWEJ/
>>
>> inject in "log" method is not working, what am I doing wrong?
>>
>> Thanks,


-- 
blog  http://piotr.zalewa.info
jobs  http://webdev.zalewa.info
twit  http://twitter.com/zalun
face  http://facebook.com/zaloon

Reply via email to