* Hyphenates a camelcased CSS property name, for example: * * > hyphenateStyleName('backgroundColor') * < "background-color" * > hyphenateStyleName('MozTransition') * < "-moz-transition" * > hyphenateStyleName('msTransition') * < "-ms-transition" * * As Modernizr suggests (http:
(string)
| 562 | * @return {string} |
| 563 | */ |
| 564 | function hyphenateStyleName(string) { |
| 565 | return hyphenate(string).replace(msPattern, '-ms-'); |
| 566 | } |
| 567 | |
| 568 | module.exports = hyphenateStyleName; |
| 569 | },{"./hyphenate":11}],13:[function(require,module,exports){ |
no test coverage detected