|
|
@ -45,6 +45,9 @@ |
|
|
|
tapEvt, |
|
|
|
tapEvt, |
|
|
|
touchEvt, |
|
|
|
touchEvt, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @const */ |
|
|
|
|
|
|
|
RSPACE = /\s+/g, |
|
|
|
|
|
|
|
|
|
|
|
expando = 'Sortable' + (new Date).getTime(), |
|
|
|
expando = 'Sortable' + (new Date).getTime(), |
|
|
|
|
|
|
|
|
|
|
|
win = window, |
|
|
|
win = window, |
|
|
@ -53,7 +56,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
supportDraggable = !!('draggable' in document.createElement('div')), |
|
|
|
supportDraggable = !!('draggable' in document.createElement('div')), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_silent = false, |
|
|
|
_silent = false, |
|
|
|
|
|
|
|
|
|
|
|
_dispatchEvent = function (rootEl, name, targetEl, fromEl, startIndex, newIndex) { |
|
|
|
_dispatchEvent = function (rootEl, name, targetEl, fromEl, startIndex, newIndex) { |
|
|
@ -892,8 +894,6 @@ |
|
|
|
el.removeEventListener(event, fn, false); |
|
|
|
el.removeEventListener(event, fn, false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** @const */ |
|
|
|
|
|
|
|
var RSPACE = /\s+/g; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function _toggleClass(el, name, state) { |
|
|
|
function _toggleClass(el, name, state) { |
|
|
|
if (el) { |
|
|
|
if (el) { |
|
|
|