mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Docs: Fix incorrect trac-NUMBER
references
PR gh-4993 changed a few too many issue references to `trac-NUMBER` ones. This change fixes them. It also fixes a typo in one Trac issue number in selector tests. Ref gh-4993 Closes gh-4995
This commit is contained in:
parent
9603b3c899
commit
eb9ceb2fac
@ -2770,8 +2770,8 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
|
||||
} );
|
||||
|
||||
// Selector should be trimmed to avoid leading spaces (trac-14773)
|
||||
// Selector should include any valid non-HTML whitespace (trac-3003)
|
||||
QUnit.test( "jQuery.fn.load( URL_SELECTOR with non-HTML whitespace(trac-3003) )", function( assert ) {
|
||||
// Selector should include any valid non-HTML whitespace (gh-3003)
|
||||
QUnit.test( "jQuery.fn.load( URL_SELECTOR with non-HTML whitespace(gh-3003) )", function( assert ) {
|
||||
assert.expect( 1 );
|
||||
var done = assert.async();
|
||||
jQuery( "#first" ).load( baseURL + "test3.html #whitespace\\\\xA0 ", function() {
|
||||
|
@ -817,7 +817,7 @@ QUnit.test( "jQuery.map", function( assert ) {
|
||||
result = jQuery.map( Array( 300000 ), function( v, k ) {
|
||||
return k;
|
||||
} );
|
||||
assert.equal( result.length, 300000, "Able to map 300000 records without any problems (trac-4320)" );
|
||||
assert.equal( result.length, 300000, "Able to map 300000 records without any problems (gh-4320)" );
|
||||
} else {
|
||||
assert.ok( "skip", "Array#flat isn't supported in IE" );
|
||||
}
|
||||
|
@ -1182,7 +1182,7 @@ if ( jQuery.fn.offset ) {
|
||||
} );
|
||||
}
|
||||
|
||||
QUnit.test( "Do not append px (trac-9548, trac-12990, trac-2792)", function( assert ) {
|
||||
QUnit.test( "Do not append px (trac-9548, trac-12990, gh-2792)", function( assert ) {
|
||||
assert.expect( 4 );
|
||||
|
||||
var $div = jQuery( "<div>" ).appendTo( "#qunit-fixture" );
|
||||
|
@ -290,7 +290,7 @@ QUnit.test( "data-* attributes", function( assert ) {
|
||||
|
||||
child.appendTo( "#qunit-fixture" );
|
||||
assert.equal( child.data( "myobj" ), "old data", "Value accessed from data-* attribute" );
|
||||
assert.equal( child.data( "foo-42" ), "boosh", "camelCasing does not affect numbers (trac-1751)" );
|
||||
assert.equal( child.data( "foo-42" ), "boosh", "camelCasing does not affect numbers (gh-1751)" );
|
||||
|
||||
child.data( "myobj", "replaced" );
|
||||
assert.equal( child.data( "myobj" ), "replaced", "Original data overwritten" );
|
||||
|
2
test/unit/effects.js
vendored
2
test/unit/effects.js
vendored
@ -1949,7 +1949,7 @@ QUnit.test( "Animation callbacks (trac-11797)", function( assert ) {
|
||||
this.clock.tick( 10 );
|
||||
} );
|
||||
|
||||
QUnit.test( "Animation callbacks in order (trac-2292)", function( assert ) {
|
||||
QUnit.test( "Animation callbacks in order (gh-2283)", function( assert ) {
|
||||
assert.expect( 9 );
|
||||
|
||||
var done = assert.async(),
|
||||
|
@ -465,7 +465,7 @@ QUnit.test( "html(String) with HTML5 (Bug trac-6485)", function( assert ) {
|
||||
assert.equal( jQuery( "#qunit-fixture" ).children().children().children().length, 1, "Make sure nested HTML5 elements can hold children." );
|
||||
} );
|
||||
|
||||
QUnit.test( "html(String) tag-hyphenated elements (Bug trac-1987)", function( assert ) {
|
||||
QUnit.test( "html(String) tag-hyphenated elements (Bug gh-1987)", function( assert ) {
|
||||
|
||||
assert.expect( 27 );
|
||||
|
||||
|
@ -643,7 +643,7 @@ QUnit.test( "attributes - special characters", function( assert ) {
|
||||
var attrbad;
|
||||
var div = document.createElement( "div" );
|
||||
|
||||
// trac-3279
|
||||
// trac-3729
|
||||
div.innerHTML = "<div id='foo' xml:test='something'></div>";
|
||||
assert.deepEqual( jQuery( "[xml\\:test]", div ).get(),
|
||||
[ div.firstChild ],
|
||||
|
Loading…
Reference in New Issue
Block a user