createList() { this.listView.render(); document.body.appendChild(this.listView.el); this.model.getAppList().then(allApps => { this.listView.update(allApps); this.listView.setOpenHandler(this.handleOpen.bind(this)); }); }
getApps() { this.model.getAppList().then(list => { this.list = list; this.refreshInstalledList(); }); }