controller.php
/**
     * Register the assets that the package provides.
     *
     * @return void
     */
Register the assets that the package provides.
@return void
Register the assets that the package provides . @return void
protected function registerAssets()
    {
        $al = AssetList::getInstance();
        $al->register(
            'javascript', 'jquery-nicescroll/js', 'assets/jquery.nicescroll/dist/jquery.nicescroll.min.js',
            array(
                'version' => '3.6.6', 'position' => Asset::ASSET_POSITION_HEADER,
                'minify' => true, 'combine' => true
            ), $this
        );
        $al->register(
            'javascript', 'jquery-nicescroll/bootstraper', 'assets/smooth-scrolling.js',
            array(
                'version' => '0.9.0', 'position' => Asset::ASSET_POSITION_HEADER,
                'minify' => true, 'combine' => true
            ), $this
        );
        $al->registerGroup(
            'smooth-scrolling',
            array(
                array('javascript', 'jquery-nicescroll/js'),
                array('javascript', 'jquery-nicescroll/bootstraper'),
            )
        );
    }
protected function registerAssets ( ) { $ al = AssetList :: getInstance ( ) ; $ al -> register ( 'javascript' , 'jquery-nicescroll/js' , 'assets/jquery.nicescroll/dist/jquery.nicescroll.min.js' , array ( 'version' => '3.6.6' , 'position' => Asset :: ASSET_POSITION_HEADER , 'minify' => true , 'combine' => true ) , $ this ) ; $ al -> register ( 'javascript' , 'jquery-nicescroll/bootstraper' , 'assets/smooth-scrolling.js' , array ( 'version' => '0.9.0' , 'position' => Asset :: ASSET_POSITION_HEADER , 'minify' => true , 'combine' => true ) , $ this ) ; $ al -> registerGroup ( 'smooth-scrolling' , array ( array ( 'javascript' , 'jquery-nicescroll/js' ) , array ( 'javascript' , 'jquery-nicescroll/bootstraper' ) , ) ) ; }
Register the assets that the package provides.
Register the assets that the package provides .
// Items must go in the header to prevent 'twitches' onload.  /*
         * Nice Scroll
         */ /*
         * Bootstraper
         */