17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import domReady from '@wordpress/dom-ready';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import { BlockRegistrationManager } from './blocks-registration-manager';
|
|
import { TemplateChangeDetector } from './template-change-detector';
|
|
|
|
domReady( () => {
|
|
const templateChangeDetector = new TemplateChangeDetector();
|
|
const blockRegistrationManager = new BlockRegistrationManager();
|
|
templateChangeDetector.add( blockRegistrationManager );
|
|
} );
|