Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10478 closed enhancement (fixed)

Switch jQuery.isNaN to jQuery.isNumeric

Reported by: dmethvin Owned by: dmethvin
Priority: low Milestone: 1.7
Component: core Version: 1.7b1
Keywords: Cc:
Blocked by: Blocking:

Description

Per discussion on several lists, we're switching from the undocumented and poorly-named jQuery.isNaN() to the opposite-sense jQuery.isNumeric().

Change History (3)

comment:1 Changed 6 years ago by dmethvin

Component: unfiledcore
Keywords: needsdocs added
Milestone: None1.7
Owner: set to dmethvin
Priority: undecidedlow
Status: newassigned
Type: bugenhancement
Version: 1.6.41.7b1

comment:2 Changed 6 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.

Thanks to Christian C. Salvadó for the unit tests!

Changeset: 83c08ffa1ffa778e41d728ed7fa49044dd7135f9

comment:3 Changed 6 years ago by addyosmani

Keywords: needsdocs removed

Draft documentation for this has been put together by Dave. I just updated a few of the test cases. Needsdocs being removed.

Note: See TracTickets for help on using tickets.