Fix error message with touch events

Description

There is an error during each touch/mouse event related to the built-in forEach function. We are trying to iterate through the changedTouches list via enyo.forEach, but this is not actually an Array (it is a TouchList object) and does not have the forEach method in its prototype.

Environment

Touch devices on Enyo 2.5.0-pre.1

Activity

Show:
AT
June 18, 2014, 12:43 AM
Edited

Hi , curious to hear what your thoughts on this would be - the original implementation was looser and allowed forEach to be called on Array-like objects, but now we are purely relying on forEach being in Array's prototype.

AT
July 31, 2014, 8:25 PM
AT
July 31, 2014, 8:25 PM

Fixed in 2.5.1-pre.4

Assignee

Screener (Enyo Team)

Reporter

AT

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Fix versions

Priority

None
Configure