[PATCH] [Ginger 1/1] Add lodash.min.js to Ginger pages

1 view
Skip to first unread message

Aline Manera

unread,
Sep 7, 2017, 5:51:23 PM9/7/17
to Ginger Devel
From: Aline Manera <aline....@gmail.com>

According to the new way Wok loads external JS sources, let Ginger care
about lodash as it is needed by Ginger pages and there is no
customization.

Signed-off-by: Aline Manera <aline....@gmail.com>
---
ui/pages/host-admin.html.tmpl | 1 +
1 file changed, 1 insertion(+)

diff --git a/ui/pages/host-admin.html.tmpl b/ui/pages/host-admin.html.tmpl
index 9d0bc65..1230cd4 100644
--- a/ui/pages/host-admin.html.tmpl
+++ b/ui/pages/host-admin.html.tmpl
@@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<html>
<head>
<link rel="stylesheet" type="text/css" href="plugins/ginger/css/ginger.css">
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js"></script>
<script type="text/javascript" src="plugins/ginger/js/util.js"></script>
<script type="text/javascript" src="plugins/ginger/js/host-admin.js"></script>
</head>
--
2.13.5

Reply all
Reply to author
Forward
0 new messages