We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0b434 commit a012423Copy full SHA for a012423
src/core/registry.js
@@ -67,6 +67,14 @@ const registry = {
67
// Do not reinitialize a already initialized registry.
68
return;
69
}
70
+ events.add_event_listener(
71
+ document,
72
+ "patternslib__mf--loaded",
73
+ "registry_rescan_mf",
74
+ () => {
75
+ registry.scan(document.body);
76
+ }
77
+ );
78
window.__patternslib_registry_initialized = true;
79
log.debug("Loaded: " + Object.keys(registry.patterns).sort().join(", "));
80
registry.scan(document.body);
0 commit comments