aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-12-22 16:45:05 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-12-22 16:45:05 +0300
commit3b573a59d9acc5478e0817d3e0407b29c1fc6fa5 (patch)
tree0ef941f44f27e36b86acde62b888f1fdb22ebf0a /src
parentfc6ac9d1d5240c098998ded476582e36b284212e (diff)
downloadjquery-3b573a59d9acc5478e0817d3e0407b29c1fc6fa5.tar.gz
jquery-3b573a59d9acc5478e0817d3e0407b29c1fc6fa5.zip
Revert "Data: do not include digits when camelCasing"
This reverts commit a254f22d7bb5b072a82087a448130ffadd70d698.
Diffstat (limited to 'src')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 6ba437662..46c69b6c1 100644
--- a/src/core.js
+++ b/src/core.js
@@ -29,7 +29,7 @@ var
// Matches dashed string for camelizing
rmsPrefix = /^-ms-/,
- rdashAlpha = /-([a-z])/gi,
+ rdashAlpha = /-([\da-z])/gi,
// Used by jQuery.camelCase as callback to replace()
fcamelCase = function( all, letter ) {