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 ES3 compatibility #10389

Merged
merged 1 commit into from
Feb 8, 2015
Merged

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Feb 8, 2015

@machty pointed out that #10372 uses an ES5-only feature.

@@ -1011,7 +1011,7 @@ function appendLiveRoute(liveRoutes, route, parentRoute, defaultParentState, ren
var target;
var myState = {
render: renderOptions,
outlets: Object.create(null)
outlets: Ember.create(null)
Copy link
Member

Choose a reason for hiding this comment

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

This is available as a utility:

import o_create from "ember-metal/platform/create";

Example:

import o_create from "ember-metal/platform/create";

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, cool, I'll switch to that.

@machty pointed out that emberjs#10372 uses an ES5-only feature.
@ef4 ef4 force-pushed the decouple-outlets-es3 branch from db63012 to 4850e09 Compare February 8, 2015 19:05
ef4 added a commit that referenced this pull request Feb 8, 2015
[BUGFIX beta] fix ES3 compatibility
@ef4 ef4 merged commit caa7874 into emberjs:master Feb 8, 2015
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