Skip to content

Commit

Permalink
1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmalonenz committed Oct 17, 2016
1 parent 44687e4 commit c582308
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions dist/amd/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,18 @@ define(['exports', 'aurelia-dependency-injection', './touchy', './options', './u

Dragula.prototype._events = function _events(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'mousedown', this.boundGrab);
(0, _touchy.touchy)(document.body, op, 'mouseup', this.boundRelease);
(0, _touchy.touchy)(document.documentElement, op, 'mousedown', this.boundGrab);
(0, _touchy.touchy)(document.documentElement, op, 'mouseup', this.boundRelease);
};

Dragula.prototype._eventualMovements = function _eventualMovements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'mousemove', this.boundStart);
(0, _touchy.touchy)(document.documentElement, op, 'mousemove', this.boundStart);
};

Dragula.prototype._movements = function _movements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'click', this.boundPreventGrabbed);
(0, _touchy.touchy)(document.documentElement, op, 'click', this.boundPreventGrabbed);
};

Dragula.prototype.destroy = function destroy() {
Expand Down
8 changes: 4 additions & 4 deletions dist/aurelia-dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,18 @@ export class Dragula {

_events(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousedown', this.boundGrab);
touchy(document.body, op, 'mouseup', this.boundRelease);
touchy(document.documentElement, op, 'mousedown', this.boundGrab);
touchy(document.documentElement, op, 'mouseup', this.boundRelease);
}

_eventualMovements(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousemove', this.boundStart);
touchy(document.documentElement, op, 'mousemove', this.boundStart);
}

_movements(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'click', this.boundPreventGrabbed);
touchy(document.documentElement, op, 'click', this.boundPreventGrabbed);
}

destroy() {
Expand Down
8 changes: 4 additions & 4 deletions dist/commonjs/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ var Dragula = exports.Dragula = function () {

Dragula.prototype._events = function _events(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'mousedown', this.boundGrab);
(0, _touchy.touchy)(document.body, op, 'mouseup', this.boundRelease);
(0, _touchy.touchy)(document.documentElement, op, 'mousedown', this.boundGrab);
(0, _touchy.touchy)(document.documentElement, op, 'mouseup', this.boundRelease);
};

Dragula.prototype._eventualMovements = function _eventualMovements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'mousemove', this.boundStart);
(0, _touchy.touchy)(document.documentElement, op, 'mousemove', this.boundStart);
};

Dragula.prototype._movements = function _movements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
(0, _touchy.touchy)(document.body, op, 'click', this.boundPreventGrabbed);
(0, _touchy.touchy)(document.documentElement, op, 'click', this.boundPreventGrabbed);
};

Dragula.prototype.destroy = function destroy() {
Expand Down
8 changes: 4 additions & 4 deletions dist/es2015/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ export let Dragula = class Dragula {

_events(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousedown', this.boundGrab);
touchy(document.body, op, 'mouseup', this.boundRelease);
touchy(document.documentElement, op, 'mousedown', this.boundGrab);
touchy(document.documentElement, op, 'mouseup', this.boundRelease);
}

_eventualMovements(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousemove', this.boundStart);
touchy(document.documentElement, op, 'mousemove', this.boundStart);
}

_movements(remove) {
let op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'click', this.boundPreventGrabbed);
touchy(document.documentElement, op, 'click', this.boundPreventGrabbed);
}

destroy() {
Expand Down
8 changes: 4 additions & 4 deletions dist/system/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,18 @@ System.register(['aurelia-dependency-injection', './touchy', './options', './uti

Dragula.prototype._events = function _events(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousedown', this.boundGrab);
touchy(document.body, op, 'mouseup', this.boundRelease);
touchy(document.documentElement, op, 'mousedown', this.boundGrab);
touchy(document.documentElement, op, 'mouseup', this.boundRelease);
};

Dragula.prototype._eventualMovements = function _eventualMovements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousemove', this.boundStart);
touchy(document.documentElement, op, 'mousemove', this.boundStart);
};

Dragula.prototype._movements = function _movements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'click', this.boundPreventGrabbed);
touchy(document.documentElement, op, 'click', this.boundPreventGrabbed);
};

Dragula.prototype.destroy = function destroy() {
Expand Down
8 changes: 4 additions & 4 deletions dist/temp/aurelia-dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,18 @@ var Dragula = exports.Dragula = function () {

Dragula.prototype._events = function _events(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousedown', this.boundGrab);
touchy(document.body, op, 'mouseup', this.boundRelease);
touchy(document.documentElement, op, 'mousedown', this.boundGrab);
touchy(document.documentElement, op, 'mouseup', this.boundRelease);
};

Dragula.prototype._eventualMovements = function _eventualMovements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'mousemove', this.boundStart);
touchy(document.documentElement, op, 'mousemove', this.boundStart);
};

Dragula.prototype._movements = function _movements(remove) {
var op = remove ? 'removeEventListener' : 'addEventListener';
touchy(document.body, op, 'click', this.boundPreventGrabbed);
touchy(document.documentElement, op, 'click', this.boundPreventGrabbed);
};

Dragula.prototype.destroy = function destroy() {
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": "1.2.6",
"version": "1.2.7",
"description": "An aurelia compatible version of Dragula",
"keywords": [
"aurelia",
Expand Down

0 comments on commit c582308

Please sign in to comment.