Hi! Developer fairly new to Discourse here.
I have a hosted forum, so I’m trying to hook into the Discourse class via a <script> block in </body> Customization section of the admin.
I see examples in this forum of application views like Discourse.ApplicationView, Discourse.DiscoveryCategorysView, and Discourse.CloakedView.
However, none of these are available in the Discourse class I see.
The Discourse class I see:

–
All I’m trying to do is doSomething() after a new view gets loaded. Like…
Discourse.ApplicationView.reopen({
didInsertElement: function() {
this._super();
doSomething();
},
pathChanged: function() {
Ember.run.scheduleOnce('afterRender', this, function() {
doSomething();
});
}.observes('controller.currentPath', 'controller.model')
});
But I get Cannot read property 'reopen' of undefined because Discourse.ApplicationView doesn’t exist.
Any way to access the application view without writing a plugin?