I am trying to use this code with the latest release of ember.js... I ran into a couple of problems that I worked around by also upgrading ember-layout and ember-routemanager to their latest versions. But I still get an error when navigating:
Object "FRAGMENT_YOU_NAVIGATED_TO" has no method 'setURL'
I've forked the repo and set up a branch where you can easily see the error:
I think the error is in ember-routemanager due to changes in ember. The location var is a string rather than a View by the time it reaches Ember.Routable.updateRoute - I'm just starting out with ember.js so I haven't been able to figure out why yet...
I since read that ember has included code much like yours in the core with this release so I guess that is the reason for the problem. Would you recommend just using their code with 0.9.8.1? Thanks!
I am trying to use this code with the latest release of ember.js... I ran into a couple of problems that I worked around by also upgrading ember-layout and ember-routemanager to their latest versions. But I still get an error when navigating:
Object "FRAGMENT_YOU_NAVIGATED_TO" has no method 'setURL'
I've forked the repo and set up a branch where you can easily see the error:
https://github.com/vitch/ember-layout-example/tree/ember-0.9.8.1
I think the error is in ember-routemanager due to changes in ember. The
location
var is a string rather than aView
by the time it reachesEmber.Routable.updateRoute
- I'm just starting out with ember.js so I haven't been able to figure out why yet...Any ideas?