From 2b645413fc163863d000bddde5bc27a836321422 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 13 Apr 2019 23:06:48 +0000
Subject: [PATCH] Get rid of jQuery dependency - use XHR and Promise

---
 map.html |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/map.html b/map.html
index 3122d8d..24cea68 100644
--- a/map.html
+++ b/map.html
@@ -21,11 +21,10 @@
 <div id="fail" class="ol-unselectable ol-control"><span></span> <span class="close">×</p></div>
 </div>
 <div id="panel"></div>
-<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script>
-<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=Array.prototype.forEach,Array.prototype.includes,Array.prototype.map,Element.prototype.classList,Promise,String.prototype.startsWith,XMLHttpRequest,requestAnimationFrame"></script>
 <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js" integrity="sha384-iQkGyyH4ioz3m+maM3s9MX1Oq67mACa4B9Z3ovUv3Sv37LJ96fx3WnZfLoiC3Wfl" crossorigin="anonymous"></script>
-<script tyle="text/javascript" src="lang_pl.js?v5" id="lang_script"></script>
-<script tyle="text/javascript" src="common.js?v6"></script>
-<script tyle="text/javascript" src="map.js?v13"></script>
+<script tyle="text/javascript" src="lang_pl.js?v7" id="lang_script"></script>
+<script tyle="text/javascript" src="common.js?v8"></script>
+<script tyle="text/javascript" src="map.js?v20"></script>
 </body>
 </html>

--
Gitblit v1.9.1