diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-05-03 08:22:32 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-05-03 08:25:19 -0400 |
commit | 2862a07af640be42711f72ad4abe532349985824 (patch) | |
tree | 74370f567449623c0b7f8736a4c5d61ef9e2171c /src | |
parent | a873558436383beea7a05fd07db7070a30420100 (diff) | |
download | jquery-2862a07af640be42711f72ad4abe532349985824.tar.gz jquery-2862a07af640be42711f72ad4abe532349985824.zip |
Data: do not include digits when camelCasing
Fixes gh-1751
Diffstat (limited to 'src')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 4a8b73985..0c72801d6 100644 --- a/src/core.js +++ b/src/core.js @@ -27,7 +27,7 @@ var // Matches dashed string for camelizing rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, + rdashAlpha = /-([a-z])/gi, // Used by jQuery.camelCase as callback to replace() fcamelCase = function( all, letter ) { |