diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-01-04 16:27:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 16:27:18 +0100 |
commit | 5d5ea015114092c157311c4948f7cc3d8c8e7f8a (patch) | |
tree | 11beae372fc202638e16358f84f696c1e71a08c3 /src/core | |
parent | 655c0ed5e204b1f6427e09d615a49586a7bc84eb (diff) | |
download | jquery-5d5ea015114092c157311c4948f7cc3d8c8e7f8a.tar.gz jquery-5d5ea015114092c157311c4948f7cc3d8c8e7f8a.zip |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/init.js | 4 | ||||
-rw-r--r-- | src/core/ready-no-deferred.js | 2 | ||||
-rw-r--r-- | src/core/ready.js | 2 |
3 files changed, 4 insertions, 4 deletions
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 <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) + // Prioritize #id over <tag> 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 |