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

[BUGFIX beta] Fix issue with IE9 compatibility. #14229

Merged
merged 1 commit into from
Sep 8, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Sep 8, 2016

A past refactor left AutoLocation in a broken state under IE9. This fixes that error and adds a (somewhat silly) test.

Fixes #14006.

@rwjblue
Copy link
Member Author

rwjblue commented Sep 8, 2016

I tested a simple ember new foo app with Ember version just before this change under IE9 the following error occurs:

SCRIPT5007: Invalid operand to 'in': Object expected 

After this change, the error does not occur...

@@ -72,7 +72,7 @@ export default EmberObject.extend({
@property global
@default environment.global
*/
global: environment.global,
global: environment.window,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default above should probably be updated too, right?

A past refactor left `AutoLocation` in a broken state under IE9. This
fixes that error and adds a (somewhat silly) test.
@rwjblue rwjblue merged commit aeced15 into emberjs:master Sep 8, 2016
@rwjblue rwjblue deleted the fix-ie9-auto-location branch September 8, 2016 12:52
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.

Internet Explorer IE9: _emberEnvironment.environment.global returns undefined
2 participants