public/lib/jquery.sly.js
function dragInit(event) {
            var isTouch = event.type === 'touchstart',
                source = event.data.source,
                isSlidee = source === 'slidee';

            // Ignore other than left mouse button
            if (isTouch || event.which <= 1) {
                stopDefault(event);

                // Update a dragging object
                dragging.source   = source;
                dragging.$source  = $(event.target);
                dragging.init     = 0;
                dragging.released = 0;
                dragging.touch    = isTouch;
                dragging.initLoc  = (isTouch ? event.originalEvent.touches[0] : event)[o.horizontal ? 'pageX' : 'pageY'];
                dragging.initPos  = isSlidee ? pos.cur : hPos.cur;
                dragging.start    = +new Date();
                dragging.time     = 0;
                dragging.path     = 0;
                dragging.pathMin  = isSlidee ? -dragging.initLoc : -hPos.cur;
                dragging.pathMax  = isSlidee ? document[o.horizontal ? 'width' : 'height'] - dragging.initLoc : hPos.end - hPos.cur;

                // Add dragging class
                (isSlidee ? $slidee : $handle).addClass(o.draggedClass);

                // Bind dragging events
                $doc.on(isTouch ? dragTouchEvents : dragMouseEvents, dragHandler);
            }
        }
function dragInit(event) {
            var isTouch = event.type === 'touchstart',
                source = event.data.source,
                isSlidee = source === 'slidee';

            // Ignore other than left mouse button
            if (isTouch || event.which <= 1) {
                stopDefault(event);

                // Update a dragging object
                dragging.source   = source;
                dragging.$source  = $(event.target);
                dragging.init     = 0;
                dragging.released = 0;
                dragging.touch    = isTouch;
                dragging.initLoc  = (isTouch ? event.originalEvent.touches[0] : event)[o.horizontal ? 'pageX' : 'pageY'];
                dragging.initPos  = isSlidee ? pos.cur : hPos.cur;
                dragging.start    = +new Date();
                dragging.time     = 0;
                dragging.path     = 0;
                dragging.pathMin  = isSlidee ? -dragging.initLoc : -hPos.cur;
                dragging.pathMax  = isSlidee ? document[o.horizontal ? 'width' : 'height'] - dragging.initLoc : hPos.end - hPos.cur;

                // Add dragging class
                (isSlidee ? $slidee : $handle).addClass(o.draggedClass);

                // Bind dragging events
                $doc.on(isTouch ? dragTouchEvents : dragMouseEvents, dragHandler);
            }
        }
function dragInit ( event ) { var isTouch = event . type === 'touchstart' , source = event . data . source , isSlidee = source === 'slidee' ; // Ignore other than left mouse button
 if ( isTouch || event . which <= 1 ) { stopDefault ( event ) ; // Update a dragging object
 dragging . source = source ; dragging . $source = $ ( event . target ) ; dragging . init = 0 ; dragging . released = 0 ; dragging . touch = isTouch ; dragging . initLoc = ( isTouch ? event . originalEvent . touches [ 0 ] : event ) [ o . horizontal ? 'pageX' : 'pageY' ] ; dragging . initPos = isSlidee ? pos . cur : hPos . cur ; dragging . start = + new Date ( ) ; dragging . time = 0 ; dragging . path = 0 ; dragging . pathMin = isSlidee ? - dragging . initLoc : - hPos . cur ; dragging . pathMax = isSlidee ? document [ o . horizontal ? 'width' : 'height' ] - dragging . initLoc : hPos . end - hPos . cur ; // Add dragging class
 ( isSlidee ? $slidee : $handle ) . addClass ( o . draggedClass ) ; // Bind dragging events
 $doc . on ( isTouch ? dragTouchEvents : dragMouseEvents , dragHandler ) ; } }
Dragging initiator.

@param  {Event} event

@return {Void}
Dragging initiator .