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

232 - Internet Explorer 7 & 8 fixes #237

Merged
merged 6 commits into from Oct 2, 2012
Merged

Conversation

johnmartin
Copy link
Contributor

Few JavaScript and minor visual fixes for Recline in Internet Explorer 7 & 8.

Couple of quick dev notes:

  • IE7 has very strict rules about JS , use. You can't end a line with a , if it doesn't need one. E.g. var test = [ test: 'test', ]; will NOT validate
  • IE7 & 8 don't have many of the ECMA262-5 Array methods (e.g. [1, 2, 3].filter()) and therefore I had to add them in
  • IE7 & 8 doesn't like you using delete for method names. It's a reserved keyword and it throws a little tantrum if you do. It's good practice not to use it anyways as it is a reserved keyword according to the ECMAScript guidelines. See 1 and 2 for more info

@rufuspollock
Copy link
Member

@johnmartin thanks for these fixes - very useful. We have been aiming to run jshint regularly and that should catch e.g. trailing commas.

rufuspollock added a commit that referenced this pull request Oct 2, 2012
[ie fixes][s]: Internet Explorer 7 & 8 fixes - fixes #232.
@rufuspollock rufuspollock merged commit 2465ed0 into master Oct 2, 2012
@risenW risenW deleted the 232-recline-ie-fixes branch March 15, 2021 12:59
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.

None yet

2 participants