4 ms·
For the functions that are being removed, is there a list of the native replacements. eg $.isNumeric() == parseFloat() ?
by ape4 3y ago
For the functions that are being removed, is there a list of the native replacements. eg $.isNumeric() == parseFloat() ?
- StayTrue 3y agoA guide would be nice but you can always look at the jQuery implementations. isNumeric: https://github.com/jquery/jquery/blob/bf48c21d225c31f0f9b5441d95f73615ca3dcfdb/src/core.js#L206 https://github.com/jquery/jquery/blob/bf48c21d225c31f0f9b544...
- ape4 3y agoThanks. That seems useful to keep in jQuery even though its only one line of code. So everyone doesn't have to copy and paste that non-obvious function.