<commit_before>@foreach(config('adminlte.plugins') as $pluginName => $plugin)
    @if($plugin['active'] || View::getSection('plugins.' . ($plugin['name'] ?? $pluginName)))
        @foreach($plugin['files'] as $file)

            {{-- Check requested file type --}}
            @if($file['type'] == $type && $type == 'css')
                <link rel="stylesheet" href="{{ $file['asset'] ? asset($file['location']) : $file['location'] }}">
            @elseif($file['type'] == $type && $type == 'js')
                <script src="{{ $file['asset'] ? asset($file['location']) : $file['location'] }}"></script>
            @endif

        @endforeach
    @endif
@endforeach<commit_msg>Feature/plugin js defer attribute (#747)<commit_after>@foreach(config('adminlte.plugins') as $pluginName => $plugin)
    @if($plugin['active'] || View::getSection('plugins.' . ($plugin['name'] ?? $pluginName)))
        @foreach($plugin['files'] as $file)

            {{-- Check requested file type --}}
            @if($file['type'] == $type && $type == 'css')
                <link rel="stylesheet" href="{{ $file['asset'] ? asset($file['location']) : $file['location'] }}">
            @elseif($file['type'] == $type && $type == 'js')
                <script src="{{ $file['asset'] ? asset($file['location']) : $file['location'] }}" {{ ! empty($file['defer']) ? 'defer' : '' }} ></script>
            @endif

        @endforeach
    @endif
@endforeach
{'fraction_non_alphanumeric': 0.24111498257839722, 'fraction_numerical': 0.0020905923344947735, 'mean_word_length': 3.0679886685552407, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4905395', 'n_tokens_mistral': 416, 'n_tokens_neox': 409, 'n_words': 83}