PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/modules/core-abilities/index.js +5 -10 23.5.2 → trunk View file →
@@ -116,18 +116,13 @@
116 116 } catch (error) {
117 117 console.error("Failed to fetch abilities:", error);
118 118 }
119 119 }
120 -var initializePromise = null;
121 -function initialize() {
122 - if (!initializePromise) {
123 - initializePromise = (async () => {
124 - await initializeCategories();
125 - await initializeAbilities();
126 - })();
127 - }
128 - return initializePromise;
120 +async function initialize() {
121 + await initializeCategories();
122 + await initializeAbilities();
129 123 }
124 +var ready = initialize();
130 125 export {
131 - initialize
126 + ready
132 127 };
133 128 //# sourceMappingURL=index.js.map