From b0b280cd61d1fa12b67bd723ac2c2fa91b92db01 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 29 Nov 2015 09:41:37 -0800 Subject: [PATCH] Docs: Updated links to https where they are supported. Close gh-2746 --- CONTRIBUTING.md | 24 ++++++++++++------------ README.md | 20 ++++++++++---------- package.json | 2 +- src/intro.js | 6 +++--- src/manipulation.js | 2 +- src/queue/delay.js | 2 +- test/networkerror.html | 2 +- test/readywait.html | 4 ++-- test/unit/manipulation.js | 2 +- 9 files changed, 32 insertions(+), 32 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9699a53c1..1975f7109 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,8 +7,8 @@ Note: This is the code development repository for *jQuery Core* only. Before opening an issue or making a pull request, be sure you're in the right place. * jQuery plugin issues should be reported to the author of the plugin. -* jQuery Core API documentation issues can be filed [at the API repo](http://github.com/jquery/api.jquery.com/issues). -* Bugs or suggestions for other jQuery Foundation projects should be filed in [their respective repos](http://github.com/jquery/). +* jQuery Core API documentation issues can be filed [at the API repo](https://github.com/jquery/api.jquery.com/issues). +* Bugs or suggestions for other jQuery Foundation projects should be filed in [their respective repos](https://github.com/jquery/). ## Getting Involved @@ -16,22 +16,22 @@ Note: This is the code development repository for *jQuery Core* only. Before ope We're always looking for help [identifying bugs](#how-to-report-bugs), writing and reducing test cases, and improving documentation. And although new features are rare, anything passing our [guidelines](https://github.com/jquery/jquery/wiki/Adding-new-features) will be considered. -More information on how to contribute to this and other jQuery Foundation projects is at [contribute.jquery.org](http://contribute.jquery.org), including a short guide with tips, tricks, and ideas on [getting started with open source](http://contribute.jquery.org/open-source/). Please review our [commit & pull request guide](http://contribute.jquery.org/commits-and-pull-requests/) and [style guides](http://contribute.jquery.org/style-guide/) for instructions on how to maintain a fork and submit patches. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](http://contribute.jquery.org/cla/). +More information on how to contribute to this and other jQuery Foundation projects is at [contribute.jquery.org](https://contribute.jquery.org), including a short guide with tips, tricks, and ideas on [getting started with open source](https://contribute.jquery.org/open-source/). Please review our [commit & pull request guide](https://contribute.jquery.org/commits-and-pull-requests/) and [style guides](https://contribute.jquery.org/style-guide/) for instructions on how to maintain a fork and submit patches. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](https://contribute.jquery.org/cla/). ## Questions and Discussion ### Forum and IRC -jQuery is so popular that many developers have knowledge of its capabilities and limitations. Most questions about using jQuery can be answered on popular forums such as [Stack Overflow](http://stackoverflow.com). Please start there when you have questions, even if you think you've found a bug. +jQuery is so popular that many developers have knowledge of its capabilities and limitations. Most questions about using jQuery can be answered on popular forums such as [Stack Overflow](https://stackoverflow.com). Please start there when you have questions, even if you think you've found a bug. -The jQuery Core team watches the [jQuery Development Forum](http://forum.jquery.com/developing-jquery-core). If you have longer posts or questions that can't be answered in places such as Stack Overflow, please feel free to post them there. If you think you've found a bug, please [file it in the bug tracker](#how-to-report-bugs). The Core team can be found in the [#jquery-dev](http://webchat.freenode.net/?channels=jquery-dev) IRC channel on irc.freenode.net. +The jQuery Core team watches the [jQuery Development Forum](https://forum.jquery.com/developing-jquery-core). If you have longer posts or questions that can't be answered in places such as Stack Overflow, please feel free to post them there. If you think you've found a bug, please [file it in the bug tracker](#how-to-report-bugs). The Core team can be found in the [#jquery-dev](https://webchat.freenode.net/?channels=jquery-dev) IRC channel on irc.freenode.net. ### Weekly Status Meetings -The jQuery Core team has a weekly meeting to discuss the progress of current work. The meeting is held in the [#jquery-meeting](http://webchat.freenode.net/?channels=jquery-meeting) IRC channel on irc.freenode.net at [Noon EST](http://www.timeanddate.com/worldclock/fixedtime.html?month=1&day=17&year=2011&hour=12&min=0&sec=0&p1=43) on Mondays. +The jQuery Core team has a weekly meeting to discuss the progress of current work. The meeting is held in the [#jquery-meeting](https://webchat.freenode.net/?channels=jquery-meeting) IRC channel on irc.freenode.net at [Noon EST](https://www.timeanddate.com/worldclock/fixedtime.html?month=1&day=17&year=2011&hour=12&min=0&sec=0&p1=43) on Mondays. -[jQuery Core Meeting Notes](http://meetings.jquery.org/category/core/) +[jQuery Core Meeting Notes](https://meetings.jquery.org/category/core/) ## How to Report Bugs @@ -40,7 +40,7 @@ The jQuery Core team has a weekly meeting to discuss the progress of current wor Most bugs reported to our bug tracker are actually bugs in user code, not in jQuery code. Keep in mind that just because your code throws an error inside of jQuery, this does *not* mean the bug is a jQuery bug. -Ask for help first in the [Using jQuery Forum](http://forum.jquery.com/using-jquery) or another discussion forum like [Stack Overflow](http://stackoverflow.com/). You will get much quicker support, and you will help avoid tying up the jQuery team with invalid bug reports. +Ask for help first in the [Using jQuery Forum](https://forum.jquery.com/using-jquery) or another discussion forum like [Stack Overflow](https://stackoverflow.com/). You will get much quicker support, and you will help avoid tying up the jQuery team with invalid bug reports. ### Disable browser extensions @@ -48,11 +48,11 @@ Make sure you have reproduced the bug with all browser extensions and add-ons di ### Try the latest version of jQuery -Bugs in old versions of jQuery may have already been fixed. In order to avoid reporting known issues, make sure you are always testing against the [latest build](http://code.jquery.com/jquery.js). We cannot fix bugs in older released files, if a bug has been fixed in a subsequent version of jQuery the site should upgrade. +Bugs in old versions of jQuery may have already been fixed. In order to avoid reporting known issues, make sure you are always testing against the [latest build](https://code.jquery.com/jquery.js). We cannot fix bugs in older released files, if a bug has been fixed in a subsequent version of jQuery the site should upgrade. ### Simplify the test case -When experiencing a problem, [reduce your code](http://webkit.org/quality/reduction.html) to the bare minimum required to reproduce the issue. This makes it *much* easier to isolate and fix the offending code. Bugs reported without reduced test cases take on average 9001% longer to fix than bugs that are submitted with them, so you really should try to do this if at all possible. +When experiencing a problem, [reduce your code](https://webkit.org/quality/reduction.html) to the bare minimum required to reproduce the issue. This makes it *much* easier to isolate and fix the offending code. Bugs reported without reduced test cases take on average 9001% longer to fix than bugs that are submitted with them, so you really should try to do this if at all possible. ### Search for related or duplicate issues @@ -65,7 +65,7 @@ We *love* when people contribute back to the project by patching the bugs they f ### Build a Local Copy of jQuery -Create a fork of the jQuery repo on github at http://github.com/jquery/jquery +Create a fork of the jQuery repo on github at https://github.com/jquery/jquery Change directory to your web root directory, whatever that might be: @@ -136,6 +136,6 @@ Click "Load with AMD" after loading the test page. ### Browser support -Remember that jQuery supports multiple browsers and their versions; any contributed code must work in all of them. You can refer to the [browser support page](http://jquery.com/browser-support/) for the current list of supported browsers. +Remember that jQuery supports multiple browsers and their versions; any contributed code must work in all of them. You can refer to the [browser support page](https://jquery.com/browser-support/) for the current list of supported browsers. Note that browser support differs depending on whether you are targeting the `master` or `compat` branch. diff --git a/README.md b/README.md index 99bcb2355..ae686a13a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[jQuery](http://jquery.com/) — New Wave JavaScript +[jQuery](https://jquery.com/) — New Wave JavaScript ================================================== Contribution Guides @@ -6,15 +6,15 @@ Contribution Guides In the spirit of open source software development, jQuery always encourages community code contribution. To help you get started and before you jump into writing code, be sure to read these important contribution guidelines thoroughly: -1. [Getting Involved](http://contribute.jquery.org/) -2. [Core Style Guide](http://contribute.jquery.org/style-guide/js/) -3. [Writing Code for jQuery Foundation Projects](http://contribute.jquery.org/code/) +1. [Getting Involved](https://contribute.jquery.org/) +2. [Core Style Guide](https://contribute.jquery.org/style-guide/js/) +3. [Writing Code for jQuery Foundation Projects](https://contribute.jquery.org/code/) Environments in which to use jQuery -------------------------------------- -- [Browser support](http://jquery.com/browser-support/) differs between the master branch and the compat branch. Specifically, the master branch does not support legacy browsers such as IE8. The jQuery team continues to provide support for legacy browsers on the compat branch. Use the latest compat release if support for those browsers is required. See [browser support](http://jquery.com/browser-support/) for more info. +- [Browser support](https://jquery.com/browser-support/) differs between the master branch and the compat branch. Specifically, the master branch does not support legacy browsers such as IE8. The jQuery team continues to provide support for legacy browsers on the compat branch. Use the latest compat release if support for those browsers is required. See [browser support](https://jquery.com/browser-support/) for more info. - To use jQuery in Node, browser extensions, and other non-browser environments, use only master branch releases given the name "jquery" rather than "jquery-compat". The compat branch does not support these environments. @@ -23,7 +23,7 @@ What you need to build your own jQuery In order to build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported. -For Windows, you have to download and install [git](http://git-scm.com/downloads) and [Node.js](http://nodejs.org/download/). +For Windows, you have to download and install [git](http://git-scm.com/downloads) and [Node.js](https://nodejs.org/en/download/). OS X users should install [Homebrew](http://brew.sh/). Once Homebrew is installed, run `brew install git` to install git, and `brew install node` to install Node.js. @@ -176,9 +176,9 @@ grunt watch Run the unit tests with a local server that supports PHP. Ensure that you run the site from the root directory, not the "test" directory. No database is required. Pre-configured php local servers are available for Windows and Mac. Here are some options: - Windows: [WAMP download](http://www.wampserver.com/en/) -- Mac: [MAMP download](http://www.mamp.info/en/index.html) +- Mac: [MAMP download](https://www.mamp.info/en/downloads/) - Linux: [Setting up LAMP](https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation) -- [Mongoose (most platforms)](http://code.google.com/p/mongoose/) +- [Mongoose (most platforms)](https://code.google.com/p/mongoose/) @@ -250,7 +250,7 @@ The following are some commands that can be used there: * `Ctrl + S` - save * `Ctrl + Q` - quit -[QUnit](http://api.qunitjs.com) Reference +[QUnit](https://api.qunitjs.com) Reference ----------------- ### Test methods ### @@ -373,4 +373,4 @@ Questions? ---------- If you have any questions, please feel free to ask on the -[Developing jQuery Core forum](http://forum.jquery.com/developing-jquery-core) or in #jquery on irc.freenode.net. +[Developing jQuery Core forum](https://forum.jquery.com/developing-jquery-core) or in #jquery on irc.freenode.net. diff --git a/package.json b/package.json index 1d751ae43..e3f2cc074 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "JavaScript library for DOM operations", "version": "3.0.0-pre", "main": "dist/jquery.js", - "homepage": "http://jquery.com", + "homepage": "https://jquery.com", "author": { "name": "jQuery Foundation and other contributors", "url": "https://github.com/jquery/jquery/blob/master/AUTHORS.txt" diff --git a/src/intro.js b/src/intro.js index aab47c2d9..291849526 100644 --- a/src/intro.js +++ b/src/intro.js @@ -1,13 +1,13 @@ /*! * jQuery JavaScript Library v@VERSION - * http://jquery.com/ + * https://jquery.com/ * * Includes Sizzle.js - * http://sizzlejs.com/ + * https://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license - * http://jquery.org/license + * https://jquery.org/license * * Date: @DATE */ diff --git a/src/manipulation.js b/src/manipulation.js index 6c4b3ede8..0d1021962 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -239,7 +239,7 @@ jQuery.extend( { if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 destElements = getAll( clone ); srcElements = getAll( elem ); diff --git a/src/queue/delay.js b/src/queue/delay.js index 8d5844d6b..4def286de 100644 --- a/src/queue/delay.js +++ b/src/queue/delay.js @@ -5,7 +5,7 @@ define( [ ], function( jQuery ) { // Based off of the plugin by Clint Helfers, with permission. -// http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type ) { time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; type = type || "fx"; diff --git a/test/networkerror.html b/test/networkerror.html index 8057408e4..f666ee048 100644 --- a/test/networkerror.html +++ b/test/networkerror.html @@ -40,7 +40,7 @@
This is a test page for - + #8135 which was reported in Firefox when accessing properties diff --git a/test/readywait.html b/test/readywait.html index 7a736bef5..e34a0d795 100644 --- a/test/readywait.html +++ b/test/readywait.html @@ -39,9 +39,9 @@

This is a test page for jQuery.readyWait and jQuery.holdReady, see - #6781 + #6781 and - #8803. + #8803.

Test for jQuery.holdReady, which can be used diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 8242df79a..1346cc06a 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -2575,7 +2575,7 @@ QUnit.test( "insertAfter, insertBefore, etc do not work when destination is orig "

1
2
" ].join( "" ) ).appendTo( "#qunit-fixture" ); - // complex case based on http://jsfiddle.net/pbramos/gZ7vB/ + // complex case based on https://jsfiddle.net/pbramos/gZ7vB/ jQuery( "#test4087-complex div" )[ name ]( "#test4087-complex li:last-child div:last-child" ); assert.equal( jQuery( "#test4087-complex li:last-child div" ).length, name === "replaceAll" ? 1 : 2, name + " a node to itself, complex case." ); -- 2.39.5