Remove ailaising this in music

This commit is contained in:
Cameron 2020-08-02 12:16:14 +01:00
parent dbd6d2fb35
commit b5c1cbb5b3
6 changed files with 58 additions and 65 deletions

View file

@ -69,20 +69,19 @@ import loading from 'loading';
});
}
const self = this;
const data = {};
self.getCurrentViewStyle = function () {
this.getCurrentViewStyle = function () {
return getPageData().view;
};
let promise;
self.preRender = function () {
this.preRender = function () {
promise = getPromise();
};
self.renderTab = function () {
this.renderTab = function () {
reloadItems(tabContent, promise);
};
}