Merge pull request #792 from erictheise/typos-src
src: typos and grammatical (English) cleanups.
This commit is contained in:
commit
cd70fd60dc
21 changed files with 29 additions and 29 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)
|
||||
|
|
|
|||
|
|
@ -100,7 +100,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
|
||||
|
|
@ -118,7 +118,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