I think you'd be more future-proof if you implemented a method into Chain.
That way if a new version of Chain used a different internal method (that's
what $chain is) you would only have one place in your codebase to fix it.

On Wed, Jan 12, 2011 at 4:23 AM, Robert <[email protected]> wrote:

>
> > http://jsfiddle.net/SLWEJ/1/
> >
> > And also solved first problem (in the same jsfiddle):
> >
> > Chain.implement({
> >     flushChain: function() {
> >         while (this.$chain.length) {
> >             this.callChain();
> >         }
> >     }
>
> Not really. I write faster then think...
>

Reply via email to