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

Make the download page work on IE7 #124

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

sorawee
Copy link
Contributor

@sorawee sorawee commented Jun 4, 2020

  • List higher-order functions (map, filter, forEach) are not available on IE,
    so implement them ourselves.

  • Fix a bug in attachEvent. The event name must have the prefix 'on'.

  • Use e.srcElement instead of e.target for IE.

  • IE hates trailing commas, so remove them.

- List higher-order functions (map, filter, forEach) are not available on IE,
so implement them ourselves.

- Fix a bug in attachEvent. The event name must have the prefix 'on'.

- Use e.srcElement instead of e.target for IE.

- IE hates trailing commas, so remove them.
@sorawee
Copy link
Contributor Author

sorawee commented Jun 4, 2020

Fun fact: a trailing comma on an object literal is a syntax error. A trailing comma on an array literal adds undefined to the end of the array... Took a while for me to figure that out...

@samth
Copy link
Member

samth commented Jun 4, 2020

Maybe we should have a discussion similar to racket/scribble#240 for this as well.

@mflatt mflatt merged commit 05e9d79 into racket:master Jun 15, 2020
@sorawee sorawee deleted the download-page-for-ie branch June 15, 2020 13:31
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