예제 #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)
예제 #2
0
def _copy_js():
    return static.copy_js('theme')
예제 #3
0
def _copy_js():
    return static.copy_js('theme')
예제 #4
0
def _copy_js(slug):
    return static.copy_js(slug)