Passed
Pull Request — master (#61)
by Dmitriy
03:05 queued 30s
created

ToolbarAsset

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 8
c 1
b 0
f 0
dl 0
loc 16
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Yii\Debug\Viewer\Asset;
6
7
use Yiisoft\Assets\AssetBundle;
8
use Yiisoft\View\WebView;
9
10
final class ToolbarAsset extends AssetBundle
11
{
12
    public bool $cdn = true;
13
14
    public array $js = [
15
        //'https://yiisoft.github.io/yii-dev-panel/toolbar/bundle.js',
16
        [
17
            'http://localhost:4173/toolbar/bundle.js',
18
            WebView::POSITION_END,
19
            'type' => 'module',
20
        ],
21
    ];
22
23
    public array $css = [
24
        //'https://yiisoft.github.io/yii-dev-panel/toolbar/bundle.css',
25
        'http://localhost:4173/toolbar/bundle.css',
26
    ];
27
}
28