Bug Tracker

Modify

Ticket #10478 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Switch jQuery.isNaN to jQuery.isNumeric

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

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to assigned
  • Component changed from unfiled to core
  • Priority changed from undecided to low
  • Owner set to dmethvin
  • Version changed from 1.6.4 to 1.7b1
  • Milestone changed from None to 1.7
  • Keywords needsdocs added
  • Type changed from bug to enhancement

comment:2 Changed 3 years ago by Dave Methvin

  • Status changed from assigned to closed
  • Resolution set to fixed

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

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

Changeset: 83c08ffa1ffa778e41d728ed7fa49044dd7135f9

comment:3 Changed 2 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.