Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmalonenz committed Feb 4, 2019
1 parent 80a3007 commit 4d387ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/amd/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ define(['exports', 'aurelia-dependency-injection', './touchy', './options', './u
Dragula.prototype.drop = function drop(item, target) {
var prevSibling = item.previousSibling;
if (this._currentSibling == null && prevSibling && prevSibling.nodeName === '#comment' && prevSibling.data === 'anchor') {
target.insertBefore(prevSibling);
target.insertBefore(item, prevSibling);
}
if (this._copy && this.options.copySortSource && target === this._source) {
var parent = _util.Util.getParent(this._item);
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export class Dragula {
const prevSibling = item.previousSibling
if (this._currentSibling == null && prevSibling &&
prevSibling.nodeName === '#comment' && prevSibling.data === 'anchor') {
target.insertBefore(prevSibling)
target.insertBefore(item, prevSibling)
}
if (this._copy && this.options.copySortSource && target === this._source) {
let parent = Util.getParent(this._item)
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ var Dragula = exports.Dragula = function () {
Dragula.prototype.drop = function drop(item, target) {
var prevSibling = item.previousSibling;
if (this._currentSibling == null && prevSibling && prevSibling.nodeName === '#comment' && prevSibling.data === 'anchor') {
target.insertBefore(prevSibling);
target.insertBefore(item, prevSibling);
}
if (this._copy && this.options.copySortSource && target === this._source) {
var parent = _util.Util.getParent(this._item);
Expand Down
2 changes: 1 addition & 1 deletion dist/system/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ System.register(['aurelia-dependency-injection', './touchy', './options', './uti
Dragula.prototype.drop = function drop(item, target) {
var prevSibling = item.previousSibling;
if (this._currentSibling == null && prevSibling && prevSibling.nodeName === '#comment' && prevSibling.data === 'anchor') {
target.insertBefore(prevSibling);
target.insertBefore(item, prevSibling);
}
if (this._copy && this.options.copySortSource && target === this._source) {
var parent = Util.getParent(this._item);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-dragula",
"version": "2.0.0",
"version": "2.0.1",
"description": "An aurelia compatible version of Dragula",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 4d387ee

Please sign in to comment.