* @param {string} prefix vendor-specific prefix, eg: Webkit * @param {string} key style name, eg: transitionDuration * @return {string} style name prefixed with `prefix`, properly camelCased, eg: * WebkitTransitionDuration
(prefix, key)
| 4502 | */ |
| 4503 | |
| 4504 | function prefixKey(prefix, key) { |
| 4505 | return prefix + key.charAt(0).toUpperCase() + key.substring(1); |
| 4506 | } |
| 4507 | /** |
| 4508 | * Support style names that may come passed in prefixed by adding permutations |
| 4509 | * of vendor prefixes. |
no outgoing calls
no test coverage detected