Skip to content

Conversation

@fredj
Copy link
Contributor

@fredj fredj commented Sep 14, 2015

No description provided.

@MatrixFrog
Copy link
Contributor

If this is (or is expected to be) an official w3c spec it can probably go in externs rather than contrib/externs. (It looks like Touch itself is defined in a file called iphone.js but it sounds like the API is actually implemented on Android browsers as well, so we should rename that at some point.)

@ChadKillingsworth
Copy link
Collaborator

A quick scan of the iphone.js file leads me to think that almost everything in there should be moved to other files.

@ChadKillingsworth
Copy link
Collaborator

@fredj If you'd like to move the Touch events out of iphone.js and into /externs/browser/touchevents.js, you can add your changes to that.

Official spec for touch events: http://www.w3.org/TR/touch-events/

@fredj fredj force-pushed the touch-events-extensions branch from 8e388db to 87db305 Compare September 15, 2015 07:20
@fredj
Copy link
Contributor Author

fredj commented Sep 15, 2015

I've moved out the touch events from iphone.js to w3c_touch_event.js and added the Touch Events Extensions stuff to that file.

I've also added the prefixed (webkit) Touch Events Extensions properties to iphone.js

From the spec (http://www.w3.org/TR/touch-events/#widl-TouchList-item-getter-Touch-unsigned-long-index):

returns the Touch at the specified index in the list or null if the
index is not less than the length of the list.
MatrixFrog added a commit that referenced this pull request Sep 15, 2015
Add externs for the W3C's Touch Events Extensions specification
@MatrixFrog MatrixFrog merged commit 628e1c5 into google:master Sep 15, 2015
@fredj fredj deleted the touch-events-extensions branch September 16, 2015 04:24
fredj added a commit to fredj/openlayers that referenced this pull request Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants