Skip to content
Permalink
Browse files
Improves support for arbitrary numbers in data keys. Fixes #9318
  • Loading branch information
rwaldron committed Aug 5, 2011
1 parent 22028e4 commit e7af6a2
Showing 1 changed file with 2 additions and 2 deletions.
@@ -46,11 +46,11 @@ var jQuery = function( selector, context ) {
rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,

// Matches dashed string for camelizing
rdashAlpha = /-([a-z])/ig,
rdashAlpha = /-([a-z]|[0-9])/ig,

// Used by jQuery.camelCase as callback to replace()
fcamelCase = function( all, letter ) {
return letter.toUpperCase();
return ( letter + "" ).toUpperCase();
},

// Keep a UserAgent string for use with jQuery.browser

0 comments on commit e7af6a2

Please sign in to comment.