From 8297f59845978c08271f55c6100e0f6942525f36 Mon Sep 17 00:00:00 2001
From: Alf Eaton
Date: Mon, 6 Apr 2015 00:35:58 +0100
Subject: [PATCH 1/2] Use HTTPS instead of protocol-relative URLs
---
pages/download.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/download.md b/pages/download.md
index 31739f4..de3cf8e 100644
--- a/pages/download.md
+++ b/pages/download.md
@@ -78,9 +78,9 @@ Be sure to test web pages that use jQuery in all the browsers you want to suppor
The jQuery team is constantly working to improve the code. Each commit to the Github repo generates a work-in-progress version of the code that we update on the jQuery CDN. _These versions are sometimes unstable and not suitable for production sites._ We recommend they be used to determine whether a bug has already been fixed when reporting bugs against released versions, or to see if new bugs have been introduced. There are two versions, one for the `compat` branch (supports IE 8) and one for the `master` branch (not for use with old IE).
-Download the work-in-progress jQuery Compat build
+Download the work-in-progress jQuery Compat build
-Download the work-in-progress jQuery build
+Download the work-in-progress jQuery build
## Using jQuery with a CDN
@@ -91,8 +91,8 @@ if the visitor to your webpage has already downloaded a copy of jQuery from the
To use the jQuery CDN, just reference the file directly from `http://code.jquery.com` in the script tag:
```
-
-
+
+
```
Starting with jQuery 1.9, [sourcemap files](http://blog.jquery.com/2013/01/09/jquery-1-9-rc1-and-migrate-rc1-released/#sourcemaps) are available on the jQuery CDN as well. If compressed files are included directly from the CDN as shown above, sourcemap-aware browsers such as Google Chrome will use them when you enable sourcemap support.
From 9027f8080fcda6ad1e8573e5c84797acae91f96b Mon Sep 17 00:00:00 2001
From: Alf Eaton
Date: Fri, 17 Apr 2015 11:27:07 +0100
Subject: [PATCH 2/2] Convert more URLs to HTTPS
---
pages/download.md | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/pages/download.md b/pages/download.md
index de3cf8e..6a3bd5d 100644
--- a/pages/download.md
+++ b/pages/download.md
@@ -19,15 +19,15 @@ To locally download these files, right-click the link and select "Save as..." fr
The jQuery 1.x line had major changes as of jQuery 1.9.0. We _strongly_
recommend that you also use the jQuery Migrate plugin if you are upgrading from
pre-1.9 versions of jQuery or need to use plugins that haven't yet been updated.
-Read the [jQuery 1.9 Upgrade Guide](http://jquery.com/upgrade-guide/1.9/)
+Read the [jQuery 1.9 Upgrade Guide](https://jquery.com/upgrade-guide/1.9/)
and the [jQuery 1.9 release blog post](http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/)
for more information.
-Download the compressed, production jQuery 1.11.3
+Download the compressed, production jQuery 1.11.3
-Download the uncompressed, development jQuery 1.11.3
+Download the uncompressed, development jQuery 1.11.3
-Download the map file for jQuery 1.11.3
+Download the map file for jQuery 1.11.3
[jQuery 1.11.3 release
notes](http://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition/)
@@ -35,16 +35,16 @@ notes](http://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fa
### jQuery 2.x
jQuery 2.x has the same API as jQuery 1.x, but _does not support Internet Explorer 6, 7, or 8_.
-All the notes in the [jQuery 1.9 Upgrade Guide](http://jquery.com/upgrade-guide/1.9/) apply here as well.
+All the notes in the [jQuery 1.9 Upgrade Guide](https://jquery.com/upgrade-guide/1.9/) apply here as well.
Since IE 8 is still relatively common, we recommend using the 1.x version unless you
are certain no IE 6/7/8 users are visiting the site.
Please read the [2.0 release notes](http://blog.jquery.com/2013/04/18/jquery-2-0-released/) carefully.
-Download the compressed, production jQuery 2.1.4
+Download the compressed, production jQuery 2.1.4
-Download the uncompressed, development jQuery 2.1.4
+Download the uncompressed, development jQuery 2.1.4
-Download the map file for jQuery 2.1.4
+Download the map file for jQuery 2.1.4
[jQuery 2.1.4 release
notes](http://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition/)
@@ -58,17 +58,17 @@ This will install jQuery to Bower's install directory, the default being `bower_
The jQuery Bower package contains additional files besides the default distribution. In most cases you can ignore these files, however if you wish to download the default release on its own you can use Bower to install jQuery from one of the above urls instead of the registered package. For example, if you wish to install just the compressed jQuery 2.1.0, you can install just that file with the following command:
```
-bower install http://code.jquery.com/jquery-2.1.4.min.js
+bower install https://code.jquery.com/jquery-2.1.4.min.js
```
## jQuery Migrate Plugin
-We have created the [jQuery Migrate plugin](http://github.com/jquery/jquery-migrate/#readme)
+We have created the [jQuery Migrate plugin](https://github.com/jquery/jquery-migrate/#readme)
to simplify the transition from older versions of jQuery. The plugin restores deprecated features and behaviors so that older code will still run properly on jQuery 1.9 and later. Use the _uncompressed development_ version to diagnose compatibility issues, it will generate warnings on the console that you can use to identify and fix problems. Use the _compressed production_ version to simply fix compatibility issues without generating console warnings.
-Download the compressed, production jQuery Migrate 1.2.1
+Download the compressed, production jQuery Migrate 1.2.1
-Download the uncompressed, development jQuery Migrate 1.2.1
+Download the uncompressed, development jQuery Migrate 1.2.1
## Cross-Browser Testing with jQuery
@@ -84,12 +84,12 @@ The jQuery team is constantly working to improve the code. Each commit to the Gi
## Using jQuery with a CDN
-[CDNs](http://en.wikipedia.org/wiki/Content_delivery_network) can offer a performance benefit by hosting jQuery on servers spread across the globe. This also offers an advantage that
+[CDNs](https://en.wikipedia.org/wiki/Content_delivery_network) can offer a performance benefit by hosting jQuery on servers spread across the globe. This also offers an advantage that
if the visitor to your webpage has already downloaded a copy of jQuery from the same CDN, it won't have to be re-downloaded.
-### jQuery's CDN provided by [MaxCDN](http://www.maxcdn.com)
+### jQuery's CDN provided by [MaxCDN](https://www.maxcdn.com)
-To use the jQuery CDN, just reference the file directly from `http://code.jquery.com` in the script tag:
+To use the jQuery CDN, just reference the file directly from `https://code.jquery.com` in the script tag:
```
@@ -97,7 +97,7 @@ To use the jQuery CDN, just reference the file directly from `http://code.jquery
Starting with jQuery 1.9, [sourcemap files](http://blog.jquery.com/2013/01/09/jquery-1-9-rc1-and-migrate-rc1-released/#sourcemaps) are available on the jQuery CDN as well. If compressed files are included directly from the CDN as shown above, sourcemap-aware browsers such as Google Chrome will use them when you enable sourcemap support.
-To see all available files and versions, visit [http://code.jquery.com](http://code.jquery.com)
+To see all available files and versions, visit [https://code.jquery.com](https://code.jquery.com)
### Other CDNs
@@ -106,17 +106,17 @@ The following CDNs also host compressed and uncompressed versions of jQuery rele
**Note that there may be delays between a jQuery release and its availability there. Please be patient, they receive the files at the same time the blog post is made public. Beta and release candidates are not hosted by these CDNs.**
* [Google CDN](https://developers.google.com/speed/libraries/devguide#jquery)
-* [Microsoft CDN](http://www.asp.net/ajaxlibrary/cdn.ashx#jQuery_Releases_on_the_CDN_0)
-* [CDNJS CDN](http://cdnjs.com/libraries/jquery/)
+* [Microsoft CDN](https://www.asp.net/ajax/cdn#jQuery_Releases_on_the_CDN_0)
+* [CDNJS CDN](https://cdnjs.com/libraries/jquery/)
* [jsDelivr CDN](http://www.jsdelivr.com/#!jquery)
## About the Code
-**jQuery is provided under the MIT license.**
+**jQuery is provided under the MIT license.**
-The code is hosted and developed in the [jQuery GitHub repository](http://github.com/jquery/jquery). If you've spotted some areas of code that could be improved, please feel free to discuss it on the [Developing jQuery Core Forum](https://forum.jquery.com/developing-jquery-core). If you'd like to participate in developing jQuery, peruse our [contributor site](http://contribute.jquery.org) for more information.
+The code is hosted and developed in the [jQuery GitHub repository](https://github.com/jquery/jquery). If you've spotted some areas of code that could be improved, please feel free to discuss it on the [Developing jQuery Core Forum](https://forum.jquery.com/developing-jquery-core). If you'd like to participate in developing jQuery, peruse our [contributor site](https://contribute.jquery.org) for more information.
-To find and download plugins developed by jQuery contributors, please visit the Plugins site. Plugin authors are responsible for maintenance of their plugins. Feedback on plugins should be directed to the plugin author, not the jQuery team.
+To find and download plugins developed by jQuery contributors, please visit the Plugins site. Plugin authors are responsible for maintenance of their plugins. Feedback on plugins should be directed to the plugin author, not the jQuery team.
### Build from Git
@@ -143,5 +143,5 @@ The README file for a specific version will have instructions for building that
## Past Releases
-All past releases can be found on the [jQuery CDN](http://code.jquery.com).
+All past releases can be found on the [jQuery CDN](https://code.jquery.com).