src/Controller/Base.php
protected function loadLibraries()
    {
        $oAsset = Factory::service('Asset');

        //  jQuery
        $oAsset->load('jquery/dist/jquery.min.js', 'NAILS-BOWER');

        //  Fancybox
        $oAsset->load('fancybox/source/jquery.fancybox.pack.js', 'NAILS-BOWER');
        $oAsset->load('fancybox/source/jquery.fancybox.css', 'NAILS-BOWER');

        //  jQuery Toggles
        $oAsset->load('jquery-toggles/toggles.min.js', 'NAILS-BOWER');
        $oAsset->load('jquery-toggles/css/toggles.css', 'NAILS-BOWER');
        $oAsset->load('jquery-toggles/css/themes/toggles-modern.css', 'NAILS-BOWER');

        //  Tipsy
        $oAsset->load('tipsy/src/javascripts/jquery.tipsy.js', 'NAILS-BOWER');
        $oAsset->load('tipsy/src/stylesheets/tipsy.css', 'NAILS-BOWER');

        //  scrollTo
        $oAsset->load('jquery.scrollTo/jquery.scrollTo.min.js', 'NAILS-BOWER');

        //  jQuery Cookies
        $oAsset->load('jquery-cookie/jquery.cookie.js', 'NAILS-BOWER');

        //  Retina.js
        $oAsset->load('retina.js/dist/retina.min.js', 'NAILS-BOWER');

        //  Bootstrap
        $oAsset->load('bootstrap/js/dropdown.js', 'NAILS-BOWER');

        //  Fontawesome
        $oAsset->load('fontawesome/css/font-awesome.min.css', 'NAILS-BOWER');

        //  Asset libraries
        $oAsset->library('jqueryui');
        $oAsset->library('select2');
        $oAsset->library('ckeditor');
        $oAsset->library('uploadify');
        $oAsset->library('knockout');
        $oAsset->library('moment');
        $oAsset->library('mustache');
    }
protected function loadLibraries()
    {
        $oAsset = Factory::service('Asset');

        //  jQuery
        $oAsset->load('jquery/dist/jquery.min.js', 'NAILS-BOWER');

        //  Fancybox
        $oAsset->load('fancybox/source/jquery.fancybox.pack.js', 'NAILS-BOWER');
        $oAsset->load('fancybox/source/jquery.fancybox.css', 'NAILS-BOWER');

        //  jQuery Toggles
        $oAsset->load('jquery-toggles/toggles.min.js', 'NAILS-BOWER');
        $oAsset->load('jquery-toggles/css/toggles.css', 'NAILS-BOWER');
        $oAsset->load('jquery-toggles/css/themes/toggles-modern.css', 'NAILS-BOWER');

        //  Tipsy
        $oAsset->load('tipsy/src/javascripts/jquery.tipsy.js', 'NAILS-BOWER');
        $oAsset->load('tipsy/src/stylesheets/tipsy.css', 'NAILS-BOWER');

        //  scrollTo
        $oAsset->load('jquery.scrollTo/jquery.scrollTo.min.js', 'NAILS-BOWER');

        //  jQuery Cookies
        $oAsset->load('jquery-cookie/jquery.cookie.js', 'NAILS-BOWER');

        //  Retina.js
        $oAsset->load('retina.js/dist/retina.min.js', 'NAILS-BOWER');

        //  Bootstrap
        $oAsset->load('bootstrap/js/dropdown.js', 'NAILS-BOWER');

        //  Fontawesome
        $oAsset->load('fontawesome/css/font-awesome.min.css', 'NAILS-BOWER');

        //  Asset libraries
        $oAsset->library('jqueryui');
        $oAsset->library('select2');
        $oAsset->library('ckeditor');
        $oAsset->library('uploadify');
        $oAsset->library('knockout');
        $oAsset->library('moment');
        $oAsset->library('mustache');
    }
Load services required by admin

@throws \Nails\Common\Exception\FactoryException