Skip to content

Instantly share code, notes, and snippets.

@teddyzeenny
Last active August 29, 2015 14:20
Show Gist options
  • Save teddyzeenny/0a1768b567b3ce3a2978 to your computer and use it in GitHub Desktop.
Save teddyzeenny/0a1768b567b3ce3a2978 to your computer and use it in GitHub Desktop.
Ember Inspector - Glimmer issues
  • _childViews is gone - Use childViews instead? childViews will skip virtual views which may not exist anymore anyway? see point 2.
  • Virtual views don't seem to get a view instance anymore - How to catch them using the inspector - is there a template tree? See http://emberjs.jsbin.com/wifete/3/edit. Also is that a breaking change? Even virtual route views don't get a view instance anymore, which means all view.{propertyName} are not accessible in the template anymore (example view.controller.name). Another example: Ember.View.reopen({company: 'Google'}); {{view.company}}
  • childViews doesn't change, and old views aren't being destroyed. See http://emberjs.jsbin.com/lelodu/2/edit
  • Route views used to have a _debugTemplateName - which is null now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment