Skip to content

Commit

Permalink
[BUGFIX beta] fix ES3 compatibility
Browse files Browse the repository at this point in the history
@machty pointed out that emberjs#10372 uses an ES5-only feature.
  • Loading branch information
ef4 committed Feb 8, 2015
1 parent b186e6e commit 4850e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-routing/lib/system/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ function appendLiveRoute(liveRoutes, route, parentRoute, defaultParentState, ren
var target;
var myState = {
render: renderOptions,
outlets: Object.create(null)
outlets: create(null)
};
if (!parentRoute) {
liveRoutes = myState;
Expand Down

0 comments on commit 4850e09

Please sign in to comment.