diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-05-04 10:49:21 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-05-04 10:49:21 -0400 |
commit | 172cad80ac635d8900aa6a3504c89f38b320488e (patch) | |
tree | c864a413d4bc712f2185550397febd66a4af4445 /src | |
parent | 0e790985a76fd813a6e56696c87abeed5a6cf63b (diff) | |
download | jquery-172cad80ac635d8900aa6a3504c89f38b320488e.tar.gz jquery-172cad80ac635d8900aa6a3504c89f38b320488e.zip |
Data: camelCasing should not ignore case
Fixes gh-2070
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 0c72801d6..b3e9a7103 100644 --- a/src/core.js +++ b/src/core.js @@ -27,7 +27,7 @@ var // Matches dashed string for camelizing rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/gi, + rdashAlpha = /-([a-z])/g, // Used by jQuery.camelCase as callback to replace() fcamelCase = function( all, letter ) { |