Skip to content

Commit

Permalink
Build for Release
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmalonenz committed Mar 14, 2016
1 parent 686bc63 commit 4c80eea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions dist/amd/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ define(['exports', 'babel-runtime/helpers/create-class', 'babel-runtime/helpers/

this._source = context.source;
this._item = context.item;
this._initialSibling = this._currentSibling = _util.Util.nextEl(context.item);
this._initialSibling = context.item.nextSibling;
this._currentSibling = _util.Util.nextEl(context.item);

this.dragging = true;
this.emitter.emit('drag', this._item, this._source);
Expand Down Expand Up @@ -316,7 +317,7 @@ define(['exports', 'babel-runtime/helpers/create-class', 'babel-runtime/helpers/
} else if (this._mirror) {
sibling = this._currentSibling;
} else {
sibling = _util.Util.nextEl(this._copy || this._item);
sibling = (this._copy || this._item).nextSibling;
}
return target === this._source && sibling === this._initialSibling;
}
Expand Down
5 changes: 3 additions & 2 deletions dist/commonjs/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ var Dragula = (function () {

this._source = context.source;
this._item = context.item;
this._initialSibling = this._currentSibling = _util.Util.nextEl(context.item);
this._initialSibling = context.item.nextSibling;
this._currentSibling = _util.Util.nextEl(context.item);

this.dragging = true;
this.emitter.emit('drag', this._item, this._source);
Expand Down Expand Up @@ -335,7 +336,7 @@ var Dragula = (function () {
} else if (this._mirror) {
sibling = this._currentSibling;
} else {
sibling = _util.Util.nextEl(this._copy || this._item);
sibling = (this._copy || this._item).nextSibling;
}
return target === this._source && sibling === this._initialSibling;
}
Expand Down
5 changes: 3 additions & 2 deletions dist/es6/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ export class Dragula {

this._source = context.source;
this._item = context.item;
this._initialSibling = this._currentSibling = Util.nextEl(context.item);
this._initialSibling = context.item.nextSibling;
this._currentSibling = Util.nextEl(context.item);

this.dragging = true;
this.emitter.emit('drag', this._item, this._source);
Expand Down Expand Up @@ -304,7 +305,7 @@ export class Dragula {
} else if (this._mirror) {
sibling = this._currentSibling;
} else {
sibling = Util.nextEl(this._copy || this._item);
sibling = (this._copy || this._item).nextSibling;
}
return target === this._source && sibling === this._initialSibling;
}
Expand Down
5 changes: 3 additions & 2 deletions dist/system/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ System.register(['babel-runtime/helpers/create-class', 'babel-runtime/helpers/cl

this._source = context.source;
this._item = context.item;
this._initialSibling = this._currentSibling = Util.nextEl(context.item);
this._initialSibling = context.item.nextSibling;
this._currentSibling = Util.nextEl(context.item);

this.dragging = true;
this.emitter.emit('drag', this._item, this._source);
Expand Down Expand Up @@ -334,7 +335,7 @@ System.register(['babel-runtime/helpers/create-class', 'babel-runtime/helpers/cl
} else if (this._mirror) {
sibling = this._currentSibling;
} else {
sibling = Util.nextEl(this._copy || this._item);
sibling = (this._copy || this._item).nextSibling;
}
return target === this._source && sibling === this._initialSibling;
}
Expand Down

0 comments on commit 4c80eea

Please sign in to comment.