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

Fix IE not implementing addEventListener/removeEventListener #14

Merged
merged 2 commits into from
Oct 9, 2013
Merged

Fix IE not implementing addEventListener/removeEventListener #14

merged 2 commits into from
Oct 9, 2013

Conversation

zoloft
Copy link
Collaborator

@zoloft zoloft commented Oct 8, 2013

This should fix issue #10. The fix is simple if window.addEventListener exists it will be used otherwise if attachEvent exists it will be used instead. If none of them exists (browsers that should die) simply ignore it and move on, the entropy will be generated later by Math.random.

Sadly i cannot test this, so if someone with IE (most notably IE 7/8) can test this it would be great

Antonio

@travist
Copy link
Owner

travist commented Oct 9, 2013

He said it works. Thanks again @zoloft

travist added a commit that referenced this pull request Oct 9, 2013
Fix IE not implementing addEventListener/removeEventListener
@travist travist merged commit 5ce6c71 into travist:master Oct 9, 2013
@zoloft
Copy link
Collaborator Author

zoloft commented Oct 9, 2013

No problem ;-)

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.

2 participants