Well it didn't matter before, but now split takes a destination argument.
So when the on("click", split) is registered, the split function passes a
click event as the destination argument.
On Mar 23, 2014 3:01 AM, "silverwind" <notifications@github.com> wrote:

> In src/client.js:
>
> > @@ -607,19 +609,20 @@
> >              });
> >          });
> >
> > -        $("#split-button").register("click", split);
> > +        $("#split-button").register("click", function() {split()} );
>
> I always wondered if there's an difference between these two ways of
> invoking a callback.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/silverwind/droppy/pull/107/files#r10866080>
> .
>