Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiled gallery: Remove unused view dependencies #11326

Merged
merged 4 commits into from
Feb 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions extensions/blocks/tiled-gallery/tiled-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' )
* @return string
*/
function jetpack_tiled_gallery_load_block_assets( $attr, $content ) {
$dependencies = array(
'lodash',
'wp-i18n',
'wp-token-list',
);
Jetpack_Gutenberg::load_assets_as_required( 'tiled-gallery', $dependencies );
Jetpack_Gutenberg::load_assets_as_required( 'tiled-gallery' );

/**
* Filter the output of the Tiled Galleries content.
Expand Down