Skip to content

Commit 8341433

Browse files
committed
blueimp.github.com => blueimp.github.io
1 parent 4fc3c36 commit 8341433

12 files changed

+44
-46
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Please follow these guidelines before reporting a bug:
1212

1313
2. **Use the GitHub issue search** — check if the issue has already been reported. If it has been, please comment on the existing issue.
1414

15-
3. **Isolate the demonstrable problem** — Try to reproduce the problem with the [Demo](http://blueimp.github.com/jQuery-File-Upload/) or with a reduced test case that includes the least amount of code necessary to reproduce the problem.
15+
3. **Isolate the demonstrable problem** — Try to reproduce the problem with the [Demo](http://blueimp.github.io/jQuery-File-Upload/) or with a reduced test case that includes the least amount of code necessary to reproduce the problem.
1616

1717
4. **Provide a means to reproduce the problem** — Please provide as much details as possible, e.g. server information, browser and operating system versions, steps to reproduce the problem. If possible, provide a link to your reduced test case, e.g. via [JSFiddle](http://jsfiddle.net/).
1818

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# jQuery File Upload Plugin
22

33
## Demo
4-
[Demo File Upload](http://blueimp.github.com/jQuery-File-Upload/)
4+
[Demo File Upload](http://blueimp.github.io/jQuery-File-Upload/)
55

66
## Setup
77
* [How to setup the plugin on your website](https://github.com/blueimp/jQuery-File-Upload/wiki/Setup)
@@ -67,7 +67,7 @@ The UI version of the File Upload plugin also requires the JavaScript Templates
6767

6868
The User Interface is built with Twitter's [Bootstrap](https://github.com/twitter/bootstrap/) Toolkit. This enables a CSS based, responsive layout and fancy transition effects on modern browsers. The demo also includes the [Bootstrap Image Gallery Plugin](https://github.com/blueimp/Bootstrap-Image-Gallery). Both of these components are optional and not required.
6969

70-
The repository also includes the [jQuery XDomainRequest Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/cors/jquery.xdr-transport.js), which enables Cross-domain AJAX requests (GET and POST only) in Microsoft Internet Explorer >= 8. However, the XDomainRequest object doesn't support file uploads and the plugin is only used by the [Demo](http://blueimp.github.com/jQuery-File-Upload/) for Cross-domain requests to delete uploaded files from the demo file upload service.
70+
The repository also includes the [jQuery XDomainRequest Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/cors/jquery.xdr-transport.js), which enables Cross-domain AJAX requests (GET and POST only) in Microsoft Internet Explorer >= 8. However, the XDomainRequest object doesn't support file uploads and the plugin is only used by the [Demo](http://blueimp.github.io/jQuery-File-Upload/) for Cross-domain requests to delete uploaded files from the demo file upload service.
7171

7272
[Cross-domain File Uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads) using the [Iframe Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js) require a redirect back to the origin server to retrieve the upload results. The [example implementation](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/main.js) makes use of [result.html](https://github.com/blueimp/jQuery-File-Upload/blob/master/cors/result.html) as a static redirect page for the origin server.
7373

angularjs.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
<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.">
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2222
<!-- Bootstrap CSS Toolkit styles -->
23-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- Bootstrap styles for responsive website layout, supporting different screen sizes -->
27-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css">
27+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-responsive.min.css">
2828
<!-- Bootstrap CSS fixes for IE6 -->
29-
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
29+
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-ie6.min.css"><![endif]-->
3030
<!-- Bootstrap Image Gallery styles -->
31-
<link rel="stylesheet" href="http://blueimp.github.com/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css">
31+
<link rel="stylesheet" href="http://blueimp.github.io/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css">
3232
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3333
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
3434
<!-- CSS adjustments for browsers with JavaScript disabled -->
@@ -46,7 +46,7 @@
4646
<a class="brand" href="https://github.com/blueimp/jQuery-File-Upload">jQuery File Upload</a>
4747
<div class="nav-collapse">
4848
<ul class="nav">
49-
<li class="active"><a href="http://blueimp.github.com/jQuery-File-Upload/">Demo</a></li>
49+
<li class="active"><a href="http://blueimp.github.io/jQuery-File-Upload/">Demo</a></li>
5050
<li><a href="https://github.com/blueimp/jQuery-File-Upload/tags">Download</a></li>
5151
<li><a href="https://github.com/blueimp/jQuery-File-Upload">Source Code</a></li>
5252
<li><a href="https://github.com/blueimp/jQuery-File-Upload/wiki">Documentation</a></li>
@@ -76,7 +76,7 @@ <h2 class="lead">AngularJS version</h2>
7676
<!-- The file upload form used as target for the file upload widget -->
7777
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data" data-ng-app="demo" data-ng-controller="DemoFileUploadController" data-fileupload="options" ng-class="{true: 'fileupload-processing'}[!!processing() || loadingFiles]">
7878
<!-- Redirect browsers with JavaScript disabled to the origin page -->
79-
<noscript><input type="hidden" name="redirect" value="http://blueimp.github.com/jQuery-File-Upload/"></noscript>
79+
<noscript><input type="hidden" name="redirect" value="http://blueimp.github.io/jQuery-File-Upload/"></noscript>
8080
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
8181
<div class="row fileupload-buttonbar">
8282
<div class="span7">
@@ -186,12 +186,12 @@ <h3 class="modal-title"></h3>
186186
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
187187
<script src="js/vendor/jquery.ui.widget.js"></script>
188188
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
189-
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
189+
<script src="http://blueimp.github.io/JavaScript-Load-Image/load-image.min.js"></script>
190190
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
191-
<script src="http://blueimp.github.com/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
191+
<script src="http://blueimp.github.io/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
192192
<!-- Bootstrap JS and Bootstrap Image Gallery are not required, but included for the demo -->
193-
<script src="http://blueimp.github.com/cdn/js/bootstrap.min.js"></script>
194-
<script src="http://blueimp.github.com/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js"></script>
193+
<script src="http://blueimp.github.io/cdn/js/bootstrap.min.js"></script>
194+
<script src="http://blueimp.github.io/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js"></script>
195195
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
196196
<script src="js/jquery.iframe-transport.js"></script>
197197
<!-- The basic File Upload plugin -->

basic-plus.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
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 CSS Toolkit styles -->
23-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- Bootstrap styles for responsive website layout, supporting different screen sizes -->
27-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css">
27+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-responsive.min.css">
2828
<!-- Bootstrap CSS fixes for IE6 -->
29-
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
29+
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-ie6.min.css"><![endif]-->
3030
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3131
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
3232
</head>
@@ -42,7 +42,7 @@
4242
<a class="brand" href="https://github.com/blueimp/jQuery-File-Upload">jQuery File Upload</a>
4343
<div class="nav-collapse">
4444
<ul class="nav">
45-
<li class="active"><a href="http://blueimp.github.com/jQuery-File-Upload/">Demo</a></li>
45+
<li class="active"><a href="http://blueimp.github.io/jQuery-File-Upload/">Demo</a></li>
4646
<li><a href="https://github.com/blueimp/jQuery-File-Upload/tags">Download</a></li>
4747
<li><a href="https://github.com/blueimp/jQuery-File-Upload">Source Code</a></li>
4848
<li><a href="https://github.com/blueimp/jQuery-File-Upload/wiki">Documentation</a></li>
@@ -101,9 +101,9 @@ <h3>Demo Notes</h3>
101101
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
102102
<script src="js/vendor/jquery.ui.widget.js"></script>
103103
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
104-
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
104+
<script src="http://blueimp.github.io/JavaScript-Load-Image/load-image.min.js"></script>
105105
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
106-
<script src="http://blueimp.github.com/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
106+
<script src="http://blueimp.github.io/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
107107
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
108108
<script src="js/jquery.iframe-transport.js"></script>
109109
<!-- The basic File Upload plugin -->
@@ -124,7 +124,7 @@ <h3>Demo Notes</h3>
124124
$(function () {
125125
'use strict';
126126
// Change this to the location of your server-side upload handler:
127-
var url = (window.location.hostname === 'blueimp.github.com' ||
127+
var url = (window.location.hostname === 'blueimp.github.io' ||
128128
window.location.hostname === 'blueimp.github.io') ?
129129
'//jquery-file-upload.appspot.com/' : 'server/php/',
130130
uploadButton = $('<button/>')

basic.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
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 CSS Toolkit styles -->
23-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- Bootstrap styles for responsive website layout, supporting different screen sizes -->
27-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css">
27+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-responsive.min.css">
2828
<!-- Bootstrap CSS fixes for IE6 -->
29-
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
29+
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-ie6.min.css"><![endif]-->
3030
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3131
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
3232
</head>
@@ -42,7 +42,7 @@
4242
<a class="brand" href="https://github.com/blueimp/jQuery-File-Upload">jQuery File Upload</a>
4343
<div class="nav-collapse">
4444
<ul class="nav">
45-
<li class="active"><a href="http://blueimp.github.com/jQuery-File-Upload/">Demo</a></li>
45+
<li class="active"><a href="http://blueimp.github.io/jQuery-File-Upload/">Demo</a></li>
4646
<li><a href="https://github.com/blueimp/jQuery-File-Upload/tags">Download</a></li>
4747
<li><a href="https://github.com/blueimp/jQuery-File-Upload">Source Code</a></li>
4848
<li><a href="https://github.com/blueimp/jQuery-File-Upload/wiki">Documentation</a></li>
@@ -110,7 +110,7 @@ <h3>Demo Notes</h3>
110110
$(function () {
111111
'use strict';
112112
// Change this to the location of your server-side upload handler:
113-
var url = (window.location.hostname === 'blueimp.github.com' ||
113+
var url = (window.location.hostname === 'blueimp.github.io' ||
114114
window.location.hostname === 'blueimp.github.io') ?
115115
'//jquery-file-upload.appspot.com/' : 'server/php/';
116116
$('#fileupload').fileupload({

blueimp-file-upload.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
],
4141
"homepage": "https://github.com/blueimp/jQuery-File-Upload",
4242
"docs": "https://github.com/blueimp/jQuery-File-Upload/wiki",
43-
"demo": "http://blueimp.github.com/jQuery-File-Upload/",
43+
"demo": "http://blueimp.github.io/jQuery-File-Upload/",
4444
"bugs": "https://github.com/blueimp/jQuery-File-Upload/issues",
4545
"maintainers": [
4646
{

index.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
<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.">
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2222
<!-- Bootstrap CSS Toolkit styles -->
23-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css">
23+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap.min.css">
2424
<!-- Generic page styles -->
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- Bootstrap styles for responsive website layout, supporting different screen sizes -->
27-
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css">
27+
<link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-responsive.min.css">
2828
<!-- Bootstrap CSS fixes for IE6 -->
29-
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
29+
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.io/cdn/css/bootstrap-ie6.min.css"><![endif]-->
3030
<!-- Bootstrap Image Gallery styles -->
31-
<link rel="stylesheet" href="http://blueimp.github.com/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css">
31+
<link rel="stylesheet" href="http://blueimp.github.io/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css">
3232
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
3333
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
3434
<!-- CSS adjustments for browsers with JavaScript disabled -->
@@ -46,7 +46,7 @@
4646
<a class="brand" href="https://github.com/blueimp/jQuery-File-Upload">jQuery File Upload</a>
4747
<div class="nav-collapse">
4848
<ul class="nav">
49-
<li class="active"><a href="http://blueimp.github.com/jQuery-File-Upload/">Demo</a></li>
49+
<li class="active"><a href="http://blueimp.github.io/jQuery-File-Upload/">Demo</a></li>
5050
<li><a href="https://github.com/blueimp/jQuery-File-Upload/tags">Download</a></li>
5151
<li><a href="https://github.com/blueimp/jQuery-File-Upload">Source Code</a></li>
5252
<li><a href="https://github.com/blueimp/jQuery-File-Upload/wiki">Documentation</a></li>
@@ -76,7 +76,7 @@ <h2 class="lead">Basic Plus UI version</h2>
7676
<!-- The file upload form used as target for the file upload widget -->
7777
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
7878
<!-- Redirect browsers with JavaScript disabled to the origin page -->
79-
<noscript><input type="hidden" name="redirect" value="http://blueimp.github.com/jQuery-File-Upload/"></noscript>
79+
<noscript><input type="hidden" name="redirect" value="http://blueimp.github.io/jQuery-File-Upload/"></noscript>
8080
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
8181
<div class="row fileupload-buttonbar">
8282
<div class="span7">
@@ -226,14 +226,14 @@ <h3 class="modal-title"></h3>
226226
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
227227
<script src="js/vendor/jquery.ui.widget.js"></script>
228228
<!-- The Templates plugin is included to render the upload/download listings -->
229-
<script src="http://blueimp.github.com/JavaScript-Templates/tmpl.min.js"></script>
229+
<script src="http://blueimp.github.io/JavaScript-Templates/tmpl.min.js"></script>
230230
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
231-
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
231+
<script src="http://blueimp.github.io/JavaScript-Load-Image/load-image.min.js"></script>
232232
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
233-
<script src="http://blueimp.github.com/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
233+
<script src="http://blueimp.github.io/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
234234
<!-- Bootstrap JS and Bootstrap Image Gallery are not required, but included for the demo -->
235-
<script src="http://blueimp.github.com/cdn/js/bootstrap.min.js"></script>
236-
<script src="http://blueimp.github.com/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js"></script>
235+
<script src="http://blueimp.github.io/cdn/js/bootstrap.min.js"></script>
236+
<script src="http://blueimp.github.io/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js"></script>
237237
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
238238
<script src="js/jquery.iframe-transport.js"></script>
239239
<!-- The basic File Upload plugin -->

js/app.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
(function () {
1616
'use strict';
1717

18-
var isOnGitHub = window.location.hostname === 'blueimp.github.com' ||
19-
window.location.hostname === 'blueimp.github.io',
18+
var isOnGitHub = window.location.hostname === 'blueimp.github.io',
2019
url = isOnGitHub ? '//jquery-file-upload.appspot.com/' : 'server/php/';
2120

2221
angular.module('demo', [

0 commit comments

Comments
 (0)