-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.5 | ||
* Sortable 1.15.6 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -134,7 +134,7 @@ | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.5"; | ||
var version = "1.15.6"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1127,7 +1127,8 @@ | |
x: 0, | ||
y: 0 | ||
}, | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari, | ||
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244 | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS), | ||
emptyInsertThreshold: 5 | ||
}; | ||
PluginManager.initializePlugins(this, el, defaults); | ||
|
@@ -1418,7 +1419,7 @@ | |
_nextTick(function () { | ||
document.selection.empty(); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.5 | ||
* Sortable 1.15.6 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.5"; | ||
var version = "1.15.6"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1121,7 +1121,8 @@ function Sortable(el, options) { | |
x: 0, | ||
y: 0 | ||
}, | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari, | ||
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244 | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS), | ||
emptyInsertThreshold: 5 | ||
}; | ||
PluginManager.initializePlugins(this, el, defaults); | ||
|
@@ -1412,7 +1413,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_nextTick(function () { | ||
document.selection.empty(); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.5 | ||
* Sortable 1.15.6 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.5"; | ||
var version = "1.15.6"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1121,7 +1121,8 @@ function Sortable(el, options) { | |
x: 0, | ||
y: 0 | ||
}, | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari, | ||
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244 | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS), | ||
emptyInsertThreshold: 5 | ||
}; | ||
PluginManager.initializePlugins(this, el, defaults); | ||
|
@@ -1412,7 +1413,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_nextTick(function () { | ||
document.selection.empty(); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.5 | ||
* Sortable 1.15.6 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.5"; | ||
var version = "1.15.6"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1121,7 +1121,8 @@ function Sortable(el, options) { | |
x: 0, | ||
y: 0 | ||
}, | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari, | ||
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244 | ||
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS), | ||
emptyInsertThreshold: 5 | ||
}; | ||
PluginManager.initializePlugins(this, el, defaults); | ||
|
@@ -1412,7 +1413,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_nextTick(function () { | ||
document.selection.empty(); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters