Fixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7.

This commit is contained in:
jeresig 2010-09-20 20:08:57 -04:00
parent 653c04acb8
commit 4a46f3d7fb
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
(function( jQuery ) {
var windowData = {},
rnum = /^-?[0-9.]$/;
rnum = /^-?[0-9.]+$/;
jQuery.extend({
cache: {},