Skip to content

Commit 73e13df

Browse files
committed
demo: update jQuery to 4.0.0
Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
1 parent e1b26a5 commit 73e13df

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

demo/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<div id="details" class="scroll-parent"></div>
6060
</div>
6161

62-
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
62+
<script src="https://code.jquery.com/jquery-4.0.0.min.js" integrity="sha256-OaVG6prZf4v69dPg6PhVattBXkcOWQB62pdZ3ORyrao=" crossorigin="anonymous"></script>
6363
<script src="https://cdn.jsdelivr.net/npm/openseadragon@5.0.1/build/openseadragon/openseadragon.min.js"></script>
6464
<script src="openseadragon-scalebar.js"></script>
6565
<script>
@@ -86,7 +86,6 @@
8686
status_skipped = false;
8787
$.ajax({
8888
'dataType': 'json',
89-
'jsonp': false, // use CORS
9089
'success': function(data, status, xhr) {
9190
if (data.stamp && data.stamp !== stamp) {
9291
// retiled existing slides, so reload page
@@ -217,7 +216,6 @@
217216
$("#details").html('').addClass('loading');
218217
$.ajax({
219218
'dataType': 'json',
220-
'jsonp': false, // use CORS
221219
'success': function(data, status, xhr) {
222220
populate_details(slide, data);
223221
},
@@ -281,7 +279,6 @@
281279

282280
$.ajax({
283281
'dataType': 'json',
284-
'jsonp': false, // use CORS
285282
'success': populate_images,
286283
'error': function() {
287284
$('#images').removeClass('loading').

0 commit comments

Comments
 (0)