From 5d5ea015114092c157311c4948f7cc3d8c8e7f8a Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Tue, 4 Jan 2022 16:27:18 +0100 Subject: Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER` The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4993 --- src/core/init.js | 4 ++-- src/core/ready-no-deferred.js | 2 +- src/core/ready.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/init.js b/src/core/init.js index 8fc24d8dd..9fea5e6d4 100644 --- a/src/core/init.js +++ b/src/core/init.js @@ -10,8 +10,8 @@ import "../traversing/findFilter.js"; var rootjQuery, // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) + // Prioritize #id over to avoid XSS via location.hash (trac-9521) + // Strict HTML recognition (trac-11290: must start with <) // Shortcut simple #id case for speed rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, diff --git a/src/core/ready-no-deferred.js b/src/core/ready-no-deferred.js index 51f6d7f6b..17aaf5bcd 100644 --- a/src/core/ready-no-deferred.js +++ b/src/core/ready-no-deferred.js @@ -25,7 +25,7 @@ jQuery.extend( { isReady: false, // A counter to track how many items to wait for before - // the ready event fires. See #6781 + // the ready event fires. See trac-6781 readyWait: 1, ready: function( wait ) { diff --git a/src/core/ready.js b/src/core/ready.js index d6c507e41..88dcc3433 100644 --- a/src/core/ready.js +++ b/src/core/ready.js @@ -28,7 +28,7 @@ jQuery.extend( { isReady: false, // A counter to track how many items to wait for before - // the ready event fires. See #6781 + // the ready event fires. See trac-6781 readyWait: 1, // Handle when the DOM is ready -- cgit v1.2.3