I’m completely new to Ember, but am building a chrome extension that builds features on top of an Ember app. What we keep struggling with is how to access anything from within their Ember scopes, add routes, etc. I figured the best place to start was to figure out how to access the Ember scope from the console without modifying the original source.
People have pasted initializer samples at me before, and they run, but I don’t know how to do anything with the Ember scope from there. How do I look up a view? A controller? How do I add a route? I’m happy to read docs, I just have nowhere to start.
The Ember Inspector can see the application, view tree, etc. How is it doing this? How do I access things from the console without modifying the original source? I started digging through their source but figured asking here would likely be a better approach.
They have both
Ember in the main scope, not sure why?