diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-04-29 21:06:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 21:06:53 +0200 |
commit | 8fae21200e80647fec4389995c4879948d11ad66 (patch) | |
tree | e54dca524d936d0258aebb22b59a20fc4d982431 /src/deprecated.js | |
parent | eb6c0a7c97b1b3cf00144de12d945c9c569f935c (diff) | |
download | jquery-8fae21200e80647fec4389995c4879948d11ad66.tar.gz jquery-8fae21200e80647fec4389995c4879948d11ad66.zip |
Data: Separate data & css/effects camelCase implementations
The camelCase implementation used by the data module no longer turns `-ms-foo`
into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be
a generic utility not specifically bound to CSS use cases.
Fixes gh-3355
Closes gh-4365
Diffstat (limited to 'src/deprecated.js')
-rw-r--r-- | src/deprecated.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/deprecated.js b/src/deprecated.js index c11b0d332..e24de4818 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -1,14 +1,14 @@ define( [ "./core", "./core/nodeName", - "./core/camelCase", "./core/toType", + "./css/cssCamelCase", "./var/isFunction", "./var/isWindow", "./var/slice", "./event/alias" -], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) { +], function( jQuery, nodeName, toType, cssCamelCase, isFunction, isWindow, slice ) { "use strict"; @@ -76,7 +76,7 @@ jQuery.parseJSON = JSON.parse; jQuery.nodeName = nodeName; jQuery.isFunction = isFunction; jQuery.isWindow = isWindow; -jQuery.camelCase = camelCase; +jQuery.camelCase = cssCamelCase; jQuery.type = toType; jQuery.now = Date.now; |