]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/components/index.js
Update entities.php
[bookstack] / resources / assets / js / components / index.js
index 5340f6ed71bb90a3c3d03015e26214a82eb76eae..5d091623a0bd110faf7f15a18ea7445d546312a7 100644 (file)
@@ -21,7 +21,6 @@ let componentMapping = {
 window.components = {};
 
 let componentNames = Object.keys(componentMapping);
-initAll();
 
 /**
  * Initialize components of the given name within the given element.
@@ -53,4 +52,6 @@ function initAll(parentElement) {
     }
 }
 
-window.components.init = initAll;
\ No newline at end of file
+window.components.init = initAll;
+
+export default initAll;
\ No newline at end of file