protected function addJsToMinifier(Minify\JS $minify, $componentName, $fileName = null)
    {
        if ($fileName === null) {
            $fileName = $componentName;
        }

        // Add component data to minifier if it is enabled
        if ($this->components[$componentName] === true) {
            $minify->add(base_path("vendor/twbs/bootstrap/js/{$fileName}.js"));
        }
    }
protected function addJsToMinifier(Minify\JS $minify, $componentName, $fileName = null)
    {
        if ($fileName === null) {
            $fileName = $componentName;
        }

        // Add component data to minifier if it is enabled
        if ($this->components[$componentName] === true) {
            $minify->add(base_path("vendor/twbs/bootstrap/js/{$fileName}.js"));
        }
    }
protected function addJsToMinifier ( Minify \ JS $ minify , $ componentName , $ fileName = null ) { if ( $ fileName === null ) { $ fileName = $ componentName ; } // Add component data to minifier if it is enabled if ( $ this -> components [ $ componentName ] === true ) { $ minify -> add ( base_path ( "vendor/twbs/bootstrap/js/{$fileName}.js" ) ) ; } }
Add components javascript file to minifier if component is enabled

@param \MatthiasMullie\Minify\JS $minify        minifier instance
@param string                    $componentName valid component name
@param string|null               $fileName      file name (if not set component name is used)

@return void
Add components javascript file to minifier if component is enabled