Skip to content

Commit c73b0e1

Browse files
committed
maint(core registry): Use dom.document_ready instead of jQuery aequivalent.
1 parent 1bbb837 commit c73b0e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const registry = {
6161
// the DOM is scanned. After that registering a new pattern
6262
// results in rescanning the DOM only for this pattern.
6363
init() {
64-
$(document).ready(function () {
64+
dom.document_ready(() => {
6565
if (window.__patternslib_registry_initialized) {
6666
// Do not reinitialize a already initialized registry.
6767
return;

0 commit comments

Comments
 (0)