No, wait. Sorry, I missed a message in the thread. You did it right. Ignore me.
On Wed, Jan 12, 2011 at 9:26 AM, Robert <[email protected]> wrote: > ? > But I did: > > Chain.implement > > Is there any other way? > Or You mean It is wrong? > > On 12 Sty, 17:51, Aaron Newton <[email protected]> wrote: > > 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... >
