From 6797ae34a4f8ae14d9c2c0f17c4fdf8068698c89 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 21 Oct 2018 17:38:13 +0200 Subject: minify javascript --- templates/layouts/default.html.ep | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index bf7a937..4bc33da 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -18,20 +18,18 @@ %if (stash('load_marquee')) { %= javascript '/static/jquery-1.10.2.min.js' %= javascript '/static/jquery-ui.min.js' - %= javascript '/static/autocomplete.js' - %= javascript '/static/collapse.js' - %= javascript '/static/marquee.js' + %= javascript '/static/dbf.min.js' + %= javascript '/static/marquee.min.js' %= javascript begin $(function () { $('marquee').marquee() }); % end % } else { %= javascript '/static/jquery-1.10.2.min.js', defer => undef %= javascript '/static/jquery-ui.min.js', defer => undef - %= javascript '/static/autocomplete.js', defer => undef - %= javascript '/static/collapse.js', defer => undef + %= javascript '/static/dbf.min.js', defer => undef % } % if (stash('with_geolocation')) { - %= javascript '/static/geolocation.js', defer => undef + %= javascript '/static/geolocation.min.js', defer => undef % }