Typos and grammatical (English) cleanups. Changes made to comments and text output, not css classes or variable names.
This commit is contained in:
parent
796ee2fdc6
commit
5301e2507a
20 changed files with 26 additions and 26 deletions
|
|
@ -38,7 +38,7 @@ module.exports = class EventEmitter {
|
|||
}
|
||||
|
||||
// Event bubbling
|
||||
// DOM events won't buttle
|
||||
// DOM events won't bubble
|
||||
// Virtual events will unless data.stopPropagation is set
|
||||
if (!data || !data.stopPropagation) {
|
||||
if (this.parent) this.parent.trigger(evt, data)
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ module.exports = {
|
|||
|
||||
|
||||
// if (!event.traversing) {
|
||||
// // css transfom fix (doesn't work well with traversing gestures)
|
||||
// // css transform fix (doesn't work well with traversing gestures)
|
||||
// var transformedCoords = cssTransformCoords(event.firstTarget, event.movementX, event.movementY)
|
||||
// event.movementX = transformedCoords.x
|
||||
// event.movementY = transformedCoords.y
|
||||
|
|
@ -102,7 +102,7 @@ module.exports = {
|
|||
event.offsetY = event.pageY - off.top
|
||||
|
||||
// if (!event.traversing) {
|
||||
// // css transfom fix (doesn't work well with traversing gestures)
|
||||
// // css transform fix (doesn't work well with traversing gestures)
|
||||
// var transformedCoords = cssTransformCoords(event.firstTarget, event.offsetX, event.offsetY)
|
||||
// event.offsetX = transformedCoords.x
|
||||
// event.offsetY = transformedCoords.y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue