Skip to content

shakecount in the callback#2

Open
fabriziogiordano wants to merge 4 commits intolhagan:masterfrom
fabriziogiordano:master
Open

shakecount in the callback#2
fabriziogiordano wants to merge 4 commits intolhagan:masterfrom
fabriziogiordano:master

Conversation

@fabriziogiordano
Copy link

Hi,
I liked your project so I added some lines of code.

I added the shakecount to the callback function and moved from window.ondevice.... to the addEventListener method. It seems Apple suggest this way. [ https://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/Reference/DeviceMotionEventClassRef/DeviceMotionEvent/DeviceMotionEvent.html ]

Regards,
Fabrizio

@lhagan
Copy link
Owner

lhagan commented Mar 19, 2011

Thanks, I really appreciate the help. I'm traveling until early next week, but I'll take a look at your changes as soon as I get back.

-Luke

On Mar 18, 2011, at 6:53 PM, fabriziogiordano reply@reply.github.com wrote:

Hi,
I liked your project so I added some lines of code.

I added the shakecount to the callback function and moved from window.ondevice.... to the addEventListener method. It seems Apple suggest this way. [ https://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/Reference/DeviceMotionEventClassRef/DeviceMotionEvent/DeviceMotionEvent.html ]

Regards,
Fabrizio

Reply to this email directly or view it on GitHub:
#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants