* 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)
| 297 | * @return {string} |
| 298 | */ |
| 299 | function hyphenateStyleName(string) { |
| 300 | return hyphenate(string).replace(msPattern, '-ms-'); |
| 301 | } |
| 302 | |
| 303 | module.exports = hyphenateStyleName; |
| 304 | },{"./hyphenate":8}],10:[function(require,module,exports){ |
no test coverage detected