Skip to content

Core: deprecate jQuery.isNumeric#3888

Merged
jbedard merged 1 commit into
jquery:masterfrom
jbedard:2960
Jan 16, 2018
Merged

Core: deprecate jQuery.isNumeric#3888
jbedard merged 1 commit into
jquery:masterfrom
jbedard:2960

Conversation

@jbedard

@jbedard jbedard commented Dec 13, 2017

Copy link
Copy Markdown
Contributor

Fixes gh-2960

Summary

Removes all usage of jQuery.isNumeric (just tests) and replaces with !isNaN(pareseFloat(...)). Moves jQuery.isNumeric to deprecated.js.

Checklist

@jbedard jbedard force-pushed the 2960 branch 2 times, most recently from d58ba3d to 4e5ba83 Compare December 13, 2017 06:45
@dmethvin

Copy link
Copy Markdown
Member

Docs ticket is jquery/api.jquery.com#949

@dmethvin dmethvin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbedard

jbedard commented Jan 5, 2018

Copy link
Copy Markdown
Contributor Author

Migrate ticket: jquery/jquery-migrate#280

Comment thread test/unit/deprecated.js Outdated
assert.ok( !jQuery.isWindow( function() {} ), "function" );
} );

QUnit.test( "core", function( assert ) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is not needed (same rationale as in your other PR).

@jbedard jbedard force-pushed the 2960 branch 5 times, most recently from 47cf242 to 3518556 Compare January 9, 2018 08:01
@jbedard jbedard force-pushed the 2960 branch 11 times, most recently from b100403 to 87d8062 Compare January 16, 2018 04:38
@jbedard jbedard merged commit c4494d4 into jquery:master Jan 16, 2018
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate jQuery.isNumeric

3 participants