@if(isset($report['results'][$name]))
@include('reports.partials.status')
{{ __('JavaScript defer') }}
@if($report['results'][$name]['passed'])
{{ __('The javascript resources have the defer attribute set.') }}
@else @foreach($report['results'][$name]['errors'] as $error => $details)
@if($error == 'missing') {{ __('The are :value javascript resources without the defer attribute.', ['value' => number_format(count($details), 0, __('.'), __(','))]) }} @endif
@endforeach @endif
{{ __('The defer attribute allows the browser to download the scripts in parallel and execute them after the webpage has been parsed, improving the webpage\'s load performance.') }}
@endif