Skip to content

Commit 72b0650

Browse files
Enqueue lodash js in block
1 parent e0c5a43 commit 72b0650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Gutenberg/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function enqueue_gutenberg_scripts() {
9090

9191
// Enqueue the bundled block JS file
9292
wp_enqueue_script( 'handsontable', $handsontableJS );
93-
wp_enqueue_script( 'visualizer-gutenberg-block', $blockPath, array( 'wp-api', 'handsontable', 'visualizer-datatables', 'moment' ), $version, true );
93+
wp_enqueue_script( 'visualizer-gutenberg-block', $blockPath, array( 'wp-api', 'handsontable', 'visualizer-datatables', 'moment', 'lodash' ), $version, true );
9494

9595
$type = 'community';
9696

0 commit comments

Comments
 (0)