From a15e2e277892cdaf4d70e1ae70899861d90ca30a Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 1 Oct 2020 14:48:51 -0400 Subject: [PATCH] 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. --- lib/galaxy/web/framework/helpers/__init__.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/galaxy/web/framework/helpers/__init__.py b/lib/galaxy/web/framework/helpers/__init__.py index b082cbdb36e..d2ba3210fc8 100644 --- a/lib/galaxy/web/framework/helpers/__init__.py +++ b/lib/galaxy/web/framework/helpers/__init__.py @@ -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)