1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add constructor capitalization rule

This commit is contained in:
Bill Thornton 2023-07-06 11:49:55 -04:00
parent 8e2ea6812a
commit ec0adb895b
43 changed files with 103 additions and 94 deletions

View file

@ -9,8 +9,8 @@ function onListingsSubmitted() {
}
function init(page, type, providerId) {
import(`../components/tvproviders/${type}`).then(({ default: factory }) => {
const instance = new factory(page, providerId, {});
import(`../components/tvproviders/${type}`).then(({ default: ProviderFactory }) => {
const instance = new ProviderFactory(page, providerId, {});
Events.on(instance, 'submitted', onListingsSubmitted);
instance.init();
});