(config)
Writes final r.js config out as a .js file
Writes final r.js config out as a .js file
Writes final r . js config out as a . js file
def _save_r_js_config(config):
    """
    Writes final r.js config out as a .js file
    """
    r_js_config = "({});".format(json.dumps(config, indent=4))
    with open(os.path.join(ROOT_DIR, 'staticfiles', 'build.js'), 'w') as fout:
        fout.write(r_js_config)
def _save_r_js_config ( config ) : r_js_config = "({});" . format ( json . dumps ( config , indent = 4 ) ) with open ( os . path . join ( ROOT_DIR , 'staticfiles' , 'build.js' ) , 'w' ) as fout : fout . write ( r_js_config )