def get_xmodule_urls():
 pipeline_js_settings = settings.PIPELINE_JS['module-js']
 if settings.DEBUG:
  paths = [path.replace('.coffee', '.js') for path in pipeline_js_settings['source_filenames']]
 else:
  paths = [pipeline_js_settings['output_filename']]
 return [staticfiles_storage.url(path) for path in paths]

def get_xmodule_urls ( ) : pipeline_js_settings = settings . PIPELINE_JS [ 'module-js' ] if settings . DEBUG : paths = [ path . replace ( '.coffee' , '.js' ) for path in pipeline_js_settings [ 'source_filenames' ] ] else : paths = [ pipeline_js_settings [ 'output_filename' ] ] return [ staticfiles_storage . url ( path ) for path in paths ]
returns a list of the urls to hit to grab all the xmodule js .