Prebuilt module for commit 9201ea973e

This commit is contained in:
Paper.js Bot 2018-10-03 08:28:07 +00:00
parent 61de4a7a1c
commit b468935fd5
5 changed files with 48 additions and 18 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 3 10:18:15 2018 +0200
* Date: Wed Oct 3 10:22:49 2018 +0200
*
***
*
@ -12127,8 +12127,14 @@ var DomEvent = {
for (var type in events) {
var func = events[type],
parts = type.split(/[\s,]+/g);
for (var i = 0, l = parts.length; i < l; i++)
el.addEventListener(parts[i], func, false);
for (var i = 0, l = parts.length; i < l; i++) {
var name = parts[i];
var options = (
el === document
&& (name === 'touchstart' || name === 'touchmove')
) ? { passive: false } : false;
el.addEventListener(name, func, options);
}
}
}
},
@ -12884,8 +12890,12 @@ new function() {
|| called;
}
if (called && !mouse.move || mouse.down && responds('mouseup'))
if (
event.cancelable !== false
&& (called && !mouse.move || mouse.down && responds('mouseup'))
) {
event.preventDefault();
}
},
_handleKeyEvent: function(type, event, key, character) {

18
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 3 10:18:15 2018 +0200
* Date: Wed Oct 3 10:22:49 2018 +0200
*
***
*
@ -12127,8 +12127,14 @@ var DomEvent = {
for (var type in events) {
var func = events[type],
parts = type.split(/[\s,]+/g);
for (var i = 0, l = parts.length; i < l; i++)
el.addEventListener(parts[i], func, false);
for (var i = 0, l = parts.length; i < l; i++) {
var name = parts[i];
var options = (
el === document
&& (name === 'touchstart' || name === 'touchmove')
) ? { passive: false } : false;
el.addEventListener(name, func, options);
}
}
}
},
@ -12884,8 +12890,12 @@ new function() {
|| called;
}
if (called && !mouse.move || mouse.down && responds('mouseup'))
if (
event.cancelable !== false
&& (called && !mouse.move || mouse.down && responds('mouseup'))
) {
event.preventDefault();
}
},
_handleKeyEvent: function(type, event, key, character) {

File diff suppressed because one or more lines are too long

18
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 3 10:18:15 2018 +0200
* Date: Wed Oct 3 10:22:49 2018 +0200
*
***
*
@ -12127,8 +12127,14 @@ var DomEvent = {
for (var type in events) {
var func = events[type],
parts = type.split(/[\s,]+/g);
for (var i = 0, l = parts.length; i < l; i++)
el.addEventListener(parts[i], func, false);
for (var i = 0, l = parts.length; i < l; i++) {
var name = parts[i];
var options = (
el === document
&& (name === 'touchstart' || name === 'touchmove')
) ? { passive: false } : false;
el.addEventListener(name, func, options);
}
}
}
},
@ -12884,8 +12890,12 @@ new function() {
|| called;
}
if (called && !mouse.move || mouse.down && responds('mouseup'))
if (
event.cancelable !== false
&& (called && !mouse.move || mouse.down && responds('mouseup'))
) {
event.preventDefault();
}
},
_handleKeyEvent: function(type, event, key, character) {

File diff suppressed because one or more lines are too long