Completed
Push — master ( 396c8f...1fcaad )
by WEBEWEB
02:16
created

JSAssetProvider::getResources()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 46

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 46
rs 9.1781
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the bootstrap-bundle package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\BootstrapBundle\Asset;
13
14
use WBW\Bundle\BootstrapBundle\Asset\AbstractAssetProvider;
15
use WBW\Bundle\BootstrapBundle\Provider\Asset\JSAssetProviderInterface;
16
17
/**
18
 * JS asset provider.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\BootstrapBundle\Asset
22
 */
23
class JSAssetProvider extends AbstractAssetProvider implements JSAssetProviderInterface {
24
25
    /**
26
     * Service name.
27
     *
28
     * @var string
29
     */
30
    const SERVICE_NAME = "webeweb.bootstrap.asset.js";
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getFilenames() {
36
37
        // Initialize the filenames.
38
        $filenames = [];
39
40
        // jQuery
41
        $filenames[] = "/jquery-3.2.1/jquery-3.2.1.min.js";
42
        // Bootstrap
43
        $filenames[] = "/bootstrap-3.3.7/js/bootstrap.min.js";
44
        // Bootstrap Colorpicker plug-in
45
        $filenames[] = "/bootstrap-colorpicker-2.5.1/js/bootstrap-colorpicker.min.js";
46
        // Bootstrap Datepicker plug-in
47
        $filenames[] = "/bootstrap-datepicker-1.7.1/js/bootstrap-datepicker.min.js";
48
        // Bootstrap Daterangepicker plug-in
49
        $filenames[] = "/moment-2.20.1/moment-with-locales.min.js";
50
        $filenames[] = "/bootstrap-daterangepicker-2.1.27/daterangepicker.js";
51
        // Bootstrap Markdown plug-in
52
        $filenames[] = "/bootstrap-markdown-2.10.0/js/bootstrap-markdown.js";
53
        // Bootstrap Notify plug-in
54
        $filenames[] = "/bootstrap-notify-3.1.3/bootstrap-notify.min.js";
55
        // Bootstrap Select plug-in
56
        $filenames[] = "/bootstrap-select-1.12.4/js/bootstrap-select.min.js";
57
        // Bootstrap Slider plug-in
58
        $filenames[] = "/bootstrap-slider-10.0.0/bootstrap-slider.min.js";
59
        // Bootstrap Tagsinput plug-in
60
        $filenames[] = "/bootstrap-tagsinput-0.8.0/bootstrap-tagsinput.min.js";
61
        // Bootstrap Timepicker plug-in
62
        $filenames[] = "/bootstrap-timepicker-0.5.2/js/bootstrap-timepicker.min.js";
63
        // Bootstrap WYSIWIG plug-in
64
        $filenames[] = "/wysihtml-0.4.15/wysihtml5x-toolbar.min.js";
65
        $filenames[] = "/handlebars-1.3.0/handlebars.runtime.js";
66
        $filenames[] = "/bootstrap-wysiwyg-0.3.3/bootstrap3-wysihtml5.min.js";
67
        // jQuery InputMask plug-in
68
        $filenames[] = "/jquery-inputmask-3.3.11/min/jquery.inputmask.bundle.min.js";
69
        // jQuery Select2 plug-in
70
        $filenames[] = "/jquery-select2-4.0.5/js/select2.min.js";
71
        // Material Design Hierarchical Display
72
        $filenames[] = "/material-design-hierarchical-display-1.0.1/jquery.zmd.hierarchical-display.min.js";
73
        // SweetAlert
74
        $filenames[] = "/sweetalert-2.1.0/sweetalert.min.js";
75
        // waitMe
76
        $filenames[] = "/waitme-1.19/waitMe.min.js";
77
78
        // Return the filenames.
79
        return $filenames;
80
    }
81
82
}
83