haggen/double — pull request #1 by hpoom (2012-05-11 16:05:07+00:00)
Title: Change stroage of old DOM element to use data as variable on the DOM element does not work.

I have made many changes.

The plugin was not working for me. First I fixed that by storing the cloned DOM element in data. The plugin then worked. I moved on to cleaning up the mixed function definition syntax.

Lastly I added support for chaining as this also did not work. Oh and I also reduced it to one clone as two was unnecessary and expensive.

Thanks
Simon