@@ -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 | Asset::register([ |
11 | 11 | 'type' => 'script', |
12 | 12 | 'name' => 'jquery-flynt', |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | ]); |
15 | 15 | }, -1); |
16 | 16 | |
17 | -add_action('wp_enqueue_scripts', function () { |
|
17 | +add_action('wp_enqueue_scripts', function() { |
|
18 | 18 | Component::enqueueAssets('DocumentDefault', [ |
19 | 19 | [ |
20 | 20 | 'name' => 'console-polyfill', |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | ]); |
45 | 45 | }, 0); |
46 | 46 | |
47 | -add_filter('Flynt/addComponentData?name=DocumentDefault', function ($data) { |
|
47 | +add_filter('Flynt/addComponentData?name=DocumentDefault', function($data) { |
|
48 | 48 | $context = Timber::get_context(); |
49 | 49 | |
50 | 50 | $output = [ |