Browse Source

Fix PHPCS.

pull/46/head
Ned Zimmerman 8 years ago
parent
commit
b5ca0a4a25
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 22
      inc/actions/namespace.php

22
inc/actions/namespace.php

@ -225,15 +225,15 @@ function hide_catalog_content_editor() {
* Enqueue block editor assets.
*/
function enqueue_block_editor_assets() {
$assets = new Assets( 'pressbooks-aldine', 'theme' );
$assets->setSrcDirectory( 'assets' )->setDistDirectory( 'dist' );
wp_enqueue_script( 'aldine/page-section-block', $assets->getPath( 'scripts/blocks/page-section/block.js' ), [
'wp-blocks',
'wp-i18n',
'wp-element',
], null );
wp_enqueue_style( 'aldine/page-section-block', $assets->getPath( 'scripts/blocks/page-section/block.css' ), [
'wp-blocks',
], null );
$assets = new Assets( 'pressbooks-aldine', 'theme' );
$assets->setSrcDirectory( 'assets' )->setDistDirectory( 'dist' );
wp_enqueue_script( 'aldine/page-section-block', $assets->getPath( 'scripts/blocks/page-section/block.js' ), [
'wp-blocks',
'wp-i18n',
'wp-element',
], null );
wp_enqueue_style( 'aldine/page-section-block', $assets->getPath( 'scripts/blocks/page-section/block.css' ), [
'wp-blocks',
], null );
}

Loading…
Cancel
Save