(element)
| 683 | } |
| 684 | |
| 685 | function create(element) { |
| 686 | return element === FRAGMENT ? document.createDocumentFragment() : document.createElementNS('http://www.w3.org/1999/xhtml', element); |
| 687 | } // it could use createElementNS when hasNode is there |
| 688 | // but this fallback is equally fast and easier to maintain |
| 689 | // it is also battle tested already in all IE |
| 690 |
no outgoing calls
no test coverage detected