extension/ezjscore/classes/ezjscpacker.php
static function buildJavascriptFiles( $scriptFiles, $packLevel = 2, $indexDirInCacheHash = true )
    {
        return ezjscPacker::packFiles( $scriptFiles, 'javascript/', '.js', $packLevel, $indexDirInCacheHash );
    }
static function buildJavascriptFiles( $scriptFiles, $packLevel = 2, $indexDirInCacheHash = true )
    {
        return ezjscPacker::packFiles( $scriptFiles, 'javascript/', '.js', $packLevel, $indexDirInCacheHash );
    }
static function buildJavascriptFiles ( $ scriptFiles , $ packLevel = 2 , $ indexDirInCacheHash = true ) { return ezjscPacker :: packFiles ( $ scriptFiles , 'javascript/' , '.js' , $ packLevel , $ indexDirInCacheHash ) ; }
Builds javascript files

@param array|string $scriptFiles Either array of file paths, or string with file path
@param int $packLevel Level of packing, values: 0-3
@param bool $indexDirInCacheHash To add index path in cache hash or not
@return array List of javascript files
Builds javascript files