Completed
Push — jquery ( 8b5dd3...4867e7 )
by Dominik
02:38 queued 46s
created
Components/DocumentDefault/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 use Flynt\Features\Components\Component;
7 7
 use Flynt\Utils\Asset;
8 8
 
9
-add_action('wp_enqueue_scripts', function () {
9
+add_action('wp_enqueue_scripts', function() {
10 10
     // NOTE: register jquery-flynt for being added as default dependency in the Component feature
11 11
     Asset::register([
12 12
         'type' => 'script',
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     ]);
16 16
 }, -1);
17 17
 
18
-add_action('wp_enqueue_scripts', function () {
18
+add_action('wp_enqueue_scripts', function() {
19 19
     Component::enqueueAssets('DocumentDefault', [
20 20
     [
21 21
       'name' => 'console-polyfill',
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     ]);
46 46
 }, 0);
47 47
 
48
-add_filter('Flynt/addComponentData?name=DocumentDefault', function ($data) {
48
+add_filter('Flynt/addComponentData?name=DocumentDefault', function($data) {
49 49
     $context = Timber::get_context();
50 50
 
51 51
     $output = [
Please login to merge, or discard this patch.