McPants/jquery.shapeshift — pull request #42 by cauli (2013-05-17 20:44:54+00:00)
Title: Proposed changes for Shuffling (Issue #37)

McPants,

I created this method for shuffling within the compiled ShapeShift.
It worked like pretty decently for me, then I included an example.

If you like it, you'll need to port it to CoffeeScript (I'm sorry for that, I'm not used to it),
But it should not be complicated.

I needed to create a global variable to check if the user was dragging, then two methods to set that, and I'm again sorry for that, very unclean. I am not used to scripting for plugins.

Usage: $(".container").trigger('ss-shuffle');

Thanks!