Exemplo n.º 1
0
def copytext_js(slug):
    """
    Render COPY to copy.js.
    """
    from static import copy_js

    response = copy_js(slug)
    js = response[0]

    with open('%s/www/js/copy.js' % env.static_path, 'w') as f:
        f.write(js)
Exemplo n.º 2
0
def _copy_js():
    return static.copy_js('theme')
Exemplo n.º 3
0
def _copy_js():
    return static.copy_js('theme')
Exemplo n.º 4
0
def _copy_js(slug):
    return static.copy_js(slug)