using dynamic import for dialogs and widgets to speed up initial load

This commit is contained in:
zadam
2019-08-20 21:40:47 +02:00
parent b818f020a7
commit fab4c59f9b
72 changed files with 1393 additions and 450 deletions

View File

@@ -18,7 +18,7 @@ const $opmlVersions = $("#opml-versions");
let exportId = '';
let branchId = null;
async function showDialog(node, defaultType) {
export async function showDialog(node, defaultType) {
utils.closeActiveDialog();
// each opening of the dialog resets the exportId so we don't associate it with previous exports anymore
@@ -134,8 +134,4 @@ messagingService.subscribeToMessages(async message => {
infoService.showMessage("Export finished successfully.");
}
});
export default {
showDialog
};
});