summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-21 17:38:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-21 17:38:13 +0200
commit6797ae34a4f8ae14d9c2c0f17c4fdf8068698c89 (patch)
treefbcb26b61b532f55f0dec5c0d9889be82a13c86c /templates/layouts/default.html.ep
parent37ff6ea7cbf4f4b2b180b0a67f0f6c87cc4c8534 (diff)
minify javascript
Diffstat (limited to 'templates/layouts/default.html.ep')
-rw-r--r--templates/layouts/default.html.ep10
1 files changed, 4 insertions, 6 deletions
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
% }
</head>
<body style="<%= (stash('hide_opts') ? 'margin: 0; padding: 0;' : q{}) %>