loleaflet: define l10n _() function earlier

This commit is contained in:
Andras Timar 2016-05-24 00:17:44 +02:00
parent 58c65fbca4
commit ec6e626952

View file

@ -34,6 +34,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="/loleaflet/%VERSION%/l10n/json2.min.js"></script>
<script src="/loleaflet/%VERSION%/l10n/l10n.min.js"></script>
<script>var _ = function (string) {return string.toLocaleString();};</script>
<script src="/loleaflet/%VERSION%/toolbar/w2ui.min.js"></script>
<script src="/loleaflet/%VERSION%/toolbar/select2.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
@ -48,7 +49,6 @@
<script src="/loleaflet/%VERSION%/dialog/vex.combined.min.js"></script>
<script src="/loleaflet/%VERSION%/branding.js"></script> <!-- logo onclick handler -->
<script>vex.defaultOptions.className = 'vex-theme-plain';</script>
<script>var _ = function (string) {return string.toLocaleString();};</script>
<script src="/loleaflet/%VERSION%/errormessages.js"></script>
<!--The "controls" div holds map controls such as the Zoom button and