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