mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
parent
27325311db
commit
3f839af50b
@ -884,6 +884,6 @@ QUnit.test( ".data(camelCase) retrieves hyphenated keys", function( assert ) {
|
||||
|
||||
var div = jQuery( "<div/>" );
|
||||
|
||||
$.data( div[ 0 ], "data-test", "data" );
|
||||
jQuery.data( div[ 0 ], "data-test", "data" );
|
||||
assert.equal( div.data( "dataTest" ), "data" );
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user