Skip to content

Commit 6fb9f4c

Browse files
committed
Update jQuery/Bootstrap/QUnit dependencies.
Replace protocol-relative URLs (obsolete due to HSTS).
1 parent 58b9a99 commit 6fb9f4c

File tree

7 files changed

+42
-42
lines changed

7 files changed

+42
-42
lines changed

angularjs.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support, progress bars, validation and preview images, audio and video for AngularJS. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2424
<!-- Bootstrap styles -->
25-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
25+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
2626
<!-- Generic page styles -->
2727
<link rel="stylesheet" href="css/style.css">
2828
<!-- blueimp Gallery styles -->
29-
<link rel="stylesheet" href="//blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
29+
<link rel="stylesheet" href="https://blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
3030
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3131
<link rel="stylesheet" href="css/jquery.fileupload.css">
3232
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
@@ -79,7 +79,7 @@ <h2 class="lead">AngularJS version</h2>
7979
</blockquote>
8080
<br>
8181
<!-- The file upload form used as target for the file upload widget -->
82-
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data" data-ng-app="demo" data-ng-controller="DemoFileUploadController" data-file-upload="options" data-ng-class="{'fileupload-processing': processing() || loadingFiles}">
82+
<form id="fileupload" action="https://jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data" data-ng-app="demo" data-ng-controller="DemoFileUploadController" data-file-upload="options" data-ng-class="{'fileupload-processing': processing() || loadingFiles}">
8383
<!-- Redirect browsers with JavaScript disabled to the origin page -->
8484
<noscript><input type="hidden" name="redirect" value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>
8585
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
@@ -177,18 +177,18 @@ <h3 class="title"></h3>
177177
<a class="play-pause"></a>
178178
<ol class="indicator"></ol>
179179
</div>
180-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
181-
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
180+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
181+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
182182
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
183183
<script src="js/vendor/jquery.ui.widget.js"></script>
184184
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
185-
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
185+
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
186186
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
187-
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
187+
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
188188
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
189-
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
189+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
190190
<!-- blueimp Gallery script -->
191-
<script src="//blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
191+
<script src="https://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
192192
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
193193
<script src="js/jquery.iframe-transport.js"></script>
194194
<!-- The basic File Upload plugin -->

basic-plus.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.">
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2222
<!-- Bootstrap styles -->
23-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
@@ -96,15 +96,15 @@ <h3 class="panel-title">Demo Notes</h3>
9696
</div>
9797
</div>
9898
</div>
99-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
99+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
100100
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
101101
<script src="js/vendor/jquery.ui.widget.js"></script>
102102
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
103-
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
103+
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
104104
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
105-
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
105+
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
106106
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
107-
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
107+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
108108
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
109109
<script src="js/jquery.iframe-transport.js"></script>
110110
<!-- The basic File Upload plugin -->

basic.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support and progress bar for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2222
<!-- Bootstrap styles -->
23-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
@@ -96,15 +96,15 @@ <h3 class="panel-title">Demo Notes</h3>
9696
</div>
9797
</div>
9898
</div>
99-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
99+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
100100
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
101101
<script src="js/vendor/jquery.ui.widget.js"></script>
102102
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
103103
<script src="js/jquery.iframe-transport.js"></script>
104104
<!-- The basic File Upload plugin -->
105105
<script src="js/jquery.fileupload.js"></script>
106106
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
107-
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
107+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
108108
<script>
109109
/*jslint unparam: true */
110110
/*global window, $ */

cors/postmessage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<head>
1616
<meta charset="utf-8">
1717
<title>jQuery File Upload Plugin postMessage API</title>
18-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
18+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
1919
</head>
2020
<body>
2121
<script>

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2424
<!-- Bootstrap styles -->
25-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
25+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
2626
<!-- Generic page styles -->
2727
<link rel="stylesheet" href="css/style.css">
2828
<!-- blueimp Gallery styles -->
29-
<link rel="stylesheet" href="//blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
29+
<link rel="stylesheet" href="https://blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
3030
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3131
<link rel="stylesheet" href="css/jquery.fileupload.css">
3232
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
@@ -73,7 +73,7 @@ <h2 class="lead">Basic Plus UI version</h2>
7373
</blockquote>
7474
<br>
7575
<!-- The file upload form used as target for the file upload widget -->
76-
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
76+
<form id="fileupload" action="https://jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
7777
<!-- Redirect browsers with JavaScript disabled to the origin page -->
7878
<noscript><input type="hidden" name="redirect" value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>
7979
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
@@ -216,19 +216,19 @@ <h3 class="title"></h3>
216216
</tr>
217217
{% } %}
218218
</script>
219-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
219+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
220220
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
221221
<script src="js/vendor/jquery.ui.widget.js"></script>
222222
<!-- The Templates plugin is included to render the upload/download listings -->
223-
<script src="//blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
223+
<script src="https://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
224224
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
225-
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
225+
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
226226
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
227-
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
227+
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
228228
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
229-
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
229+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
230230
<!-- blueimp Gallery script -->
231-
<script src="//blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
231+
<script src="https://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
232232
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
233233
<script src="js/jquery.iframe-transport.js"></script>
234234
<!-- The basic File Upload plugin -->

jquery-ui.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2424
<!-- jQuery UI styles -->
25-
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/themes/dark-hive/jquery-ui.css" id="theme">
25+
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/dark-hive/jquery-ui.css" id="theme">
2626
<!-- Generic page styles -->
2727
<link rel="stylesheet" href="css/style.css">
2828
<!-- Demo styles -->
@@ -37,7 +37,7 @@
3737
}
3838
</style>
3939
<!-- blueimp Gallery styles -->
40-
<link rel="stylesheet" href="//blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
40+
<link rel="stylesheet" href="https://blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
4141
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
4242
<link rel="stylesheet" href="css/jquery.fileupload.css">
4343
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
@@ -97,7 +97,7 @@ <h2>jQuery UI version</h2>
9797
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.</p>
9898
</blockquote>
9999
<!-- The file upload form used as target for the file upload widget -->
100-
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
100+
<form id="fileupload" action="https://jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
101101
<!-- Redirect browsers with JavaScript disabled to the origin page -->
102102
<noscript><input type="hidden" name="redirect" value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>
103103
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
@@ -201,16 +201,16 @@ <h3 class="title"></h3>
201201
</tr>
202202
{% } %}
203203
</script>
204-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
205-
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
204+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
205+
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
206206
<!-- The Templates plugin is included to render the upload/download listings -->
207-
<script src="//blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
207+
<script src="https://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
208208
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
209-
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
209+
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
210210
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
211-
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
211+
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
212212
<!-- blueimp Gallery script -->
213-
<script src="//blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
213+
<script src="https://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
214214
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
215215
<script src="js/jquery.iframe-transport.js"></script>
216216
<!-- The basic File Upload plugin -->

test/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<meta charset="utf-8">
2121
<title>jQuery File Upload Plugin Test</title>
2222
<meta name="viewport" content="width=device-width, initial-scale=1.0">
23-
<link rel="stylesheet" href="//codeorigin.jquery.com/qunit/qunit-1.14.0.css">
23+
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.23.1.css">
2424
</head>
2525
<body>
2626
<h1 id="qunit-header">jQuery File Upload Plugin Test</h1>
@@ -145,11 +145,11 @@ <h2 id="qunit-userAgent"></h2>
145145
</tr>
146146
{% } %}
147147
</script>
148-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
148+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
149149
<script src="../js/vendor/jquery.ui.widget.js"></script>
150-
<script src="//blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
151-
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
152-
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
150+
<script src="https://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
151+
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
152+
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
153153
<script src="../js/jquery.iframe-transport.js"></script>
154154
<script src="../js/jquery.fileupload.js"></script>
155155
<script>
@@ -166,7 +166,7 @@ <h2 id="qunit-userAgent"></h2>
166166
/* global window, $ */
167167
window.testUIWidget = $.blueimp.fileupload;
168168
</script>
169-
<script src="//code.jquery.com/qunit/qunit-1.15.0.js"></script>
169+
<script src="https://code.jquery.com/qunit/qunit-1.23.1.js"></script>
170170
<script src="test.js"></script>
171171
</body>
172172
</html>

0 commit comments

Comments
 (0)