Skip to content

Commit

Permalink
feat: Implemented postponeLoading
Browse files Browse the repository at this point in the history
  • Loading branch information
kyasbal committed Oct 19, 2017
1 parent 6fc0163 commit 5bd0b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class GrimoireInitializer {
if (!GrimoireInterface.libraryPreference) {
return;
}
await (GrimoireInterface.libraryPreference["suspendForLoading"] as Promise<void>);
await (GrimoireInterface.libraryPreference["postponeLoading"] as Promise<void>);
}
}

Expand All @@ -104,8 +104,8 @@ export default function (): typeof GrimoireInterface {
if (gwin.GrimoireJS) {
GrimoireInterface.libraryPreference = gwin.GrimoireJS;
}
GrimoireInterface.noConflictPreserve = gwin.gr;
gwin.gr = gwin.GrimoireJS = GrimoireInterface;
GrimoireInitializer.initialize();
GrimoireInterface.noConflictPreserve = gwin.gr;
return GrimoireInterface;
}

0 comments on commit 5bd0b8c

Please sign in to comment.