(a: HasElement, b: HasElement)
| 14 | * Sort directives by their document order. |
| 15 | */ |
| 16 | export function sortDirectives(a: HasElement, b: HasElement) { |
| 17 | return (a.element.compareDocumentPosition(b.element) & Node.DOCUMENT_POSITION_PRECEDING) > 0 |
| 18 | ? 1 |
| 19 | : -1; |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected