blob: a87897989cd7fd2418e11c72dbec573e50c7372b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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)
export function cssCamelCase( string ) {
return camelCase( string.replace( rmsPrefix, "ms-" ) );
}
|