mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 01:36:16 -05:00
Core: Deprecate jQuery.parseJSON
Fixes gh-2800 Closes gh-2948
This commit is contained in:
@@ -76,7 +76,7 @@ QUnit.test( "show/hide", function( assert ) {
|
||||
}
|
||||
|
||||
QUnit.test( "core", function( assert ) {
|
||||
assert.expect( 28 );
|
||||
assert.expect( 27 );
|
||||
|
||||
var elem = jQuery( "<div></div><span></span>" );
|
||||
|
||||
@@ -135,8 +135,6 @@ QUnit.test( "core", function( assert ) {
|
||||
|
||||
assert.strictEqual( jQuery.parseHTML( "<div></div><span></span>" ).length,
|
||||
2, "jQuery.parseHTML" );
|
||||
|
||||
assert.deepEqual( jQuery.parseJSON( "{\"a\": 2}" ), { a: 2 }, "jQuery.parseJON" );
|
||||
} );
|
||||
|
||||
QUnit.test( "data", function( assert ) {
|
||||
|
||||
Reference in New Issue
Block a user