Show More
Commit Description:
fig bugs in login report
Commit Description:
fig bugs in login report
References:
File last commit:
Show/Diff file:
Action:
node_modules/jquery/src/core/camelCase.js
| 23 lines
| 545 B
| application/javascript
| JavascriptLexer
|
r789 | define( [], function() { | |||
"use strict"; | ||||
// Matches dashed string for camelizing | ||||
var rmsPrefix = /^-ms-/, | ||||
rdashAlpha = /-([a-z])/g; | ||||
// Used by camelCase as callback to replace() | ||||
function fcamelCase( all, letter ) { | ||||
return letter.toUpperCase(); | ||||
} | ||||
// Convert dashed to camelCase; used by the css and data modules | ||||
// Support: IE <=9 - 11, Edge 12 - 15 | ||||
// Microsoft forgot to hump their vendor prefix (#9572) | ||||
function camelCase( string ) { | ||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); | ||||
} | ||||
return camelCase; | ||||
} ); | ||||