Skip to content

Conversation

@jbedard
Copy link
Contributor

@jbedard jbedard commented Dec 13, 2017

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
Member

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

Copy link
Member

@dmethvin dmethvin left a comment

Choose a reason for hiding this comment

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

LGTM

@jbedard
Copy link
Contributor Author

jbedard commented Jan 5, 2018

Migrate ticket: jquery/jquery-migrate#280

assert.ok( !jQuery.isWindow( function() {} ), "function" );
} );

QUnit.test( "core", function( assert ) {
Copy link
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