@@ -6,7 +6,7 @@ discard block |
||
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 |
||
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 |
||
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 = [ |