You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found two possibly related issues with Ember regarding routes:
If you try to use a link-to helper inside a child view (not associated with a route) which has a controller bound, you'll get a JavaScript error and the ember-application doesn't get generated in the DOM.
Error: TypeError: get(...).container is null
Example: http://jsbin.com/yised/2/edit?html,js,console,output
As a workaround for the first issue above, I tried (inside that child view) binding an action that does a this.transitionToRoute(). This doesn't break rendering, but when clicked the action will throw the following JavaScript error.
Error: TypeError: target is null
Example: http://jsbin.com/kiwap/1/edit?html,js,console,output
The text was updated successfully, but these errors were encountered:
In my case, in my real code, I have the template files broken out and I'm not using a precompiler (we're using RequireJS). Until we move to a precompiler, we can do something like:
Ember.TEMPLATES['user'] = "templateTextGoesHere"
Since the original functionality I asked about isn't supported... could this issue be converted to logging a more meaningful error message (at least in the debug build?)
I've found two possibly related issues with Ember regarding routes:
If you try to use a link-to helper inside a child view (not associated with a route) which has a controller bound, you'll get a JavaScript error and the ember-application doesn't get generated in the DOM.
Error: TypeError: get(...).container is null
Example: http://jsbin.com/yised/2/edit?html,js,console,output
As a workaround for the first issue above, I tried (inside that child view) binding an action that does a this.transitionToRoute(). This doesn't break rendering, but when clicked the action will throw the following JavaScript error.
Error: TypeError: target is null
Example: http://jsbin.com/kiwap/1/edit?html,js,console,output
The text was updated successfully, but these errors were encountered: