(node, type, suffix, location)
| 16 | } |
| 17 | |
| 18 | function getSpacing(node, type, suffix, location) { |
| 19 | var key = type + capitalizeFirst(location) + suffix; |
| 20 | if (key in node.style) { |
| 21 | return node.style[key]; |
| 22 | } |
| 23 | |
| 24 | key = type + suffix; |
| 25 | if (key in node.style) { |
| 26 | return node.style[key]; |
| 27 | } |
| 28 | |
| 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | function getPositiveSpacing(node, type, suffix, location) { |
| 33 | var key = type + capitalizeFirst(location) + suffix; |
no test coverage detected
searching dependent graphs…