src/Assetter/Assetter.php
public function js($group = '*')
    {
        $this->sort();

        $jsList = $this->getLoadedJsList($group);

        list($jsList) = $this->fireEvent('load.js', [ & $jsList ]);

        $jsList = $this->transformListToScriptHtmlNodes($jsList);

        return implode("\n", $jsList);
    }
public function js($group = '*')
    {
        $this->sort();

        $jsList = $this->getLoadedJsList($group);

        list($jsList) = $this->fireEvent('load.js', [ & $jsList ]);

        $jsList = $this->transformListToScriptHtmlNodes($jsList);

        return implode("\n", $jsList);
    }
Returns JS tags from given group name.
If group name is asterisk (*), will return from all loaded groups.
@param  string $group Group name.
@return string HTML tags as string.