src/Assets.php
public function getVendorJs($key = null, $concatFilename = null)
    {
        if (!isset($this->vendorJsFiles[$this->key($key)])
            || count($this->vendorJsFiles[$this->key($key)]) == 0
        ) {
            return null;
        }

        if ($concatFilename) {
            $publicPath = $this->concat(
                $this->vendorJsSourceFiles[$this->key($key)],
                $this->getVendorDir(),
                $concatFilename
            );

            if ($publicPath) {
                return '<script type="text/javascript" src="' . $publicPath . '" ></script>' . "\n";
            }
        }

        return $this->getJsTags($this->vendorJsFiles[$this->key($key)]);
    }
public function getVendorJs($key = null, $concatFilename = null)
    {
        if (!isset($this->vendorJsFiles[$this->key($key)])
            || count($this->vendorJsFiles[$this->key($key)]) == 0
        ) {
            return null;
        }

        if ($concatFilename) {
            $publicPath = $this->concat(
                $this->vendorJsSourceFiles[$this->key($key)],
                $this->getVendorDir(),
                $concatFilename
            );

            if ($publicPath) {
                return '<script type="text/javascript" src="' . $publicPath . '" ></script>' . "\n";
            }
        }

        return $this->getJsTags($this->vendorJsFiles[$this->key($key)]);
    }
@param null $key

@param null $concatFilename

@return string