(props)
| 473 | // Returns properties (for `transition-property`) for dictionary `props`. The |
| 474 | // value of `props` is what you would expect in `$.css(...)`. |
| 475 | function getProperties(props) { |
| 476 | var re = []; |
| 477 | |
| 478 | $.each(props, function(key) { |
| 479 | key = $.camelCase(key); // Convert "text-align" => "textAlign" |
| 480 | key = $.transit.propertyMap[key] || $.cssProps[key] || key; |
| 481 | key = uncamel(key); // Convert back to dasherized |
| 482 | |
| 483 | // Get vendor specify propertie |
| 484 | if (support[key]) |
| 485 | key = uncamel(support[key]); |
| 486 | |
| 487 | if ($.inArray(key, re) === -1) { re.push(key); } |
| 488 | }); |
| 489 | |
| 490 | return re; |
| 491 | } |
| 492 | |
| 493 | // ### getTransition() |
| 494 | // Returns the transition string to be used for the `transition` CSS property. |
no test coverage detected
searching dependent graphs…