* Hyphenates a camelcased CSS property name, for example: * * > hyphenateStyleName('backgroundColor') * < "background-color" * > hyphenateStyleName('MozTransition') * < "-moz-transition" * > hyphenateStyleName('msTransition') * < "-ms-transition" * * As Moderni
(name)
| 4569 | */ |
| 4570 | |
| 4571 | function hyphenateStyleName(name) { |
| 4572 | return name.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-'); |
| 4573 | } |
| 4574 | |
| 4575 | var warnValidStyle = function () {}; |
| 4576 |
no test coverage detected