mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop h.js helper -- everything here is bundled now and uses h.dist_js. There are some dangling css, though, so we can't drop that yet.
This commit is contained in:
@@ -91,19 +91,11 @@ def js_helper(prefix, *args):
|
||||
return javascript_link(*urls)
|
||||
|
||||
|
||||
def js(*args):
|
||||
def dist_js(*args):
|
||||
"""
|
||||
Take a prefix and list of javascript names and return appropriate
|
||||
string of script tags.
|
||||
"""
|
||||
return js_helper('static/scripts/', *args)
|
||||
|
||||
|
||||
def dist_js(*args):
|
||||
"""
|
||||
Transition function 'js' helper -- this is the modern way where all bundled
|
||||
artifacts are in the unified 'dist'.
|
||||
"""
|
||||
return js_helper('static/dist/', *args)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user