(name)
| 32 | } |
| 33 | |
| 34 | function domToCSS(name) { |
| 35 | return name.replace(/([A-Z])/g, function(str, m1) { |
| 36 | return '-' + m1.toLowerCase(); |
| 37 | }).replace(/^ms-/, '-ms-'); |
| 38 | } |
| 39 | |
| 40 | function cssToDOM(name) { |
| 41 | return name.replace(/([a-z])-([a-z])/g, function(str, m1, m2) { |
no outgoing calls
no test coverage detected
searching dependent graphs…