mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 03:25:10 -05:00
Tweaked the data number RegExp some to handle some other edge cases.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(function( jQuery ) {
|
||||
|
||||
var windowData = {},
|
||||
rnum = /^-?[0-9.]+$/;
|
||||
rnum = /^-?\d+(?:\.\d+)$/;
|
||||
|
||||
jQuery.extend({
|
||||
cache: {},
|
||||
|
||||
Reference in New Issue
Block a user