

@register.function
def js(bundle, debug=None, defer=False, async=False):
    '\n    If we are in debug mode, just output a single script tag for each js file.\n    If we are not in debug mode, return a script that points at bundle-min.js.\n    '
    attrs = []
    urls = get_js_urls(bundle, debug)
    attrs.append('src="%s"')
    if defer:
        urls.append('defer')
    if async:
        attrs.append('async')
    return _build_html(urls, ('<script %s></script>' % ' '.join(attrs)))

dataset/ETHPy150Open jsocol/jingo-minify/jingo_minify/helpers.py js/VarMisuse@55/136 `attrs`->`urls`