On Jan 12, 12:57 pm, Piotr Zalewa <[email protected]> wrote:
> On 01/12/11 11:32, Robert wrote:
>
> > Sorry - second question solved.
>
> Wouldn't it be good to share the solution? Just in case

switched injecting and injected elem ;)
order is always misleading to me with "inject", don't know why...

Here it is:

http://jsfiddle.net/SLWEJ/1/

And also solved first problem (in the same jsfiddle):

Chain.implement({
    flushChain: function() {
        while (this.$chain.length) {
            this.callChain();
        }
    }
});

Reply via email to