Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shakecount in the callback #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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 [email protected] 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