nopaque.App = class App { constructor() { this.socket = io({transports: ['websocket'], upgrade: false}); // Endpoints this.users = new nopaque.app.endpoints.Users(this); // Extensions this.toaster = new nopaque.app.extensions.Toaster(this); this.ui = new nopaque.app.extensions.UI(this); this.userHub = new nopaque.app.extensions.UserHub(this); } init() { // Initialize extensions this.toaster.init(); this.ui.init(); this.userHub.init(); } };