nl_tokens: This is an example of custom transform function
pl_tokens: function ( element , transform , <mask> ) { // // use translate both as basis for the new transform: // var t = $drag . TRANSLATE_BOTH ( element , transform , touch ) ; // // Add rotation: // var Dx = touch . distanceX ; var t0 = touch . startTransform ; var sign = Dx < 0 ? - 1 : 1 ; var angle = sign * Math . min ( ( Math . abs ( Dx ) / 700 ) * 30 , 30 ) ; t . rotateZ = angle + ( Math . round ( t0 . rotateZ ) ) ; return t ; }