We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22028e4 commit e7af6a2Copy full SHA for e7af6a2
src/core.js
@@ -46,11 +46,11 @@ var jQuery = function( selector, context ) {
46
rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,
47
48
// Matches dashed string for camelizing
49
- rdashAlpha = /-([a-z])/ig,
+ rdashAlpha = /-([a-z]|[0-9])/ig,
50
51
// Used by jQuery.camelCase as callback to replace()
52
fcamelCase = function( all, letter ) {
53
- return letter.toUpperCase();
+ return ( letter + "" ).toUpperCase();
54
},
55
56
// Keep a UserAgent string for use with jQuery.browser
0 commit comments