blob: c75dcd9503554c6f2037cd68dcf94156bbd5a0a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import camelCase from "../core/camelCase.js";
// Matches dashed string for camelizing
var rmsPrefix = /^-ms-/;
// Convert dashed to camelCase, handle vendor prefixes.
// Used by the css & effects modules.
// Support: IE <=9 - 11+
// Microsoft forgot to hump their vendor prefix (trac-9572)
function cssCamelCase( string ) {
return camelCase( string.replace( rmsPrefix, "ms-" ) );
}
export default cssCamelCase;
|