Skip to content

Commit

Permalink
Preferring load out of init
Browse files Browse the repository at this point in the history
  • Loading branch information
flbulgarelli committed Aug 10, 2020
1 parent 45d38a0 commit 50a3d18
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ mumuki.syncMode = (() => {
}
}

mumuki.load(() => {
mumuki.syncMode._selectSyncMode();
mumuki.syncMode._current.syncProgress();
mumuki.syncMode._current.syncEditorContent();
})

return {
ServerSyncMode,
ClientSyncMode,
Expand All @@ -75,3 +69,9 @@ mumuki.syncMode = (() => {
_current: null
}
})();

mumuki.load(() => {
mumuki.syncMode._selectSyncMode();
mumuki.syncMode._current.syncProgress();
mumuki.syncMode._current.syncEditorContent();
})

0 comments on commit 50a3d18

Please sign in to comment.