[Kss-devel] er._LateBinder and memory leaks

Balazs Ree ree at ree.hu
Tue Apr 8 15:55:32 CEST 2008


On Tue, 08 Apr 2008 15:21:26 +0200, Christophe Bosse wrote:

> Hey,
> 
> I've made a plugin for kss using jQuery.draggable / droppable. I was
> using the 1.2.4 kss.core but now that I use 1.4 I have a problem.
> 
> I was using the LaterBinder but now it is a private function, can this
> be turned a a public function for kukit.er ?

Don't use late binder any more. The solution is to choose a "binding 
stragegy". With this, you can specify which set of bindings your bind 
method receives together and in what grouping. Ie, you can receive the 
drag and drop bindings together and decide how you handle them.

As we have binding strategies, we will not need the late binder any more. 
I believe it will even be removed at one point.

You may want to look at the Yahoo dnd implementation (kss.plugin.yuidnd, 
in the collective repository) which is working quite good and see how the 
binding is done there. Maybe Guido, the author could give you a help in 
the jQuery implementation. Documentation is still sparse in this topic.

-- 
Balazs Ree



More information about the Kss-devel mailing list