We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
init
DOMContentLoaded
1 parent e1694a6 commit ebbe873Copy full SHA for ebbe873
packages/interactivity/src/index.ts
@@ -56,7 +56,5 @@ export const privateApis = ( lock ): any => {
56
throw new Error( 'Forbidden access.' );
57
};
58
59
-document.addEventListener( 'DOMContentLoaded', async () => {
60
- registerDirectives();
61
- await init();
62
-} );
+registerDirectives();
+init();
0 commit comments