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:
Dannon Baker
2020-10-01 14:48:54 -04:00
parent 1cc3d5b178
commit a15e2e2778
+1 -9
View File
@@ -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)