Browse Source

#26: + supportIEdnd

pull/29/head
RubaXa 11 years ago
parent
commit
2a8272fac8
  1. 6
      Sortable.js
  2. 4
      Sortable.min.js
  3. 2
      bower.json
  4. 2
      package.json

6
Sortable.js

@ -40,6 +40,8 @@
, win = window
, document = win.document
, parseInt = win.parseInt
, supportIEdnd = !!document.createElement('div').dragDrop
, _silent = false
, _createEvent = function (event/**String*/, item/**HTMLElement*/){
@ -97,7 +99,7 @@
_on(el, 'mousedown', this._onTapStart);
_on(el, 'touchstart', this._onTapStart);
_on(el, 'selectstart', this._onTapStart);
supportIEdnd && _on(el, 'selectstart', this._onTapStart);
_on(el, 'dragover', this._onDragOver);
_on(el, 'dragenter', this._onDragOver);
@ -531,7 +533,7 @@
};
Sortable.version = '0.1.8';
Sortable.version = '0.1.9';
// Export
return Sortable;

4
Sortable.min.js vendored

File diff suppressed because one or more lines are too long

2
bower.json

@ -1,7 +1,7 @@
{
"name": "Sortable",
"main": "Sortable.js",
"version": "0.1.8",
"version": "0.1.9",
"homepage": "http://rubaxa.github.io/Sortable/",
"authors": [
"RubaXa <ibnRubaXa@gmail.com>"

2
package.json

@ -1,7 +1,7 @@
{
"name": "sortable",
"exportName": "Sortable",
"version": "0.1.8",
"version": "0.1.9",
"devDependencies": {
"grunt": "*",
"grunt-version": "*",

Loading…
Cancel
Save