LearnNewsExamplesServices
Frontmatter
id702
titlecreate-app program: simplify the app.mjs file
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 10, 2020, 10:16 PM
updatedAtJun 10, 2020, 10:19 PM
githubUrlhttps://github.com/neomjs/neo/issues/702
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 10, 2020, 10:19 PM

create-app program: simplify the app.mjs file

tobiu
tobiu commented on Jun 10, 2020, 10:16 PM
Neo.onStart = function() {
    Neo.app({
        appPath : 'apps/sharedcovid2/',
        mainView: MainContainer,
        name    : 'Covid2'
    });
};

should be

Neo.onStart = () => Neo.app({
    appPath : 'apps/sharedcovid2/',
    mainView: MainContainer,
    name    : 'Covid2'
});
tobiu added the enhancement label on Jun 10, 2020, 10:16 PM
tobiu assigned to @tobiu on Jun 10, 2020, 10:16 PM
tobiu referenced in commit 84d55da - "create-app program: simplify the app.mjs file #702" on Jun 10, 2020, 10:19 PM
tobiu closed this issue on Jun 10, 2020, 10:19 PM