(element)
| 715 | } |
| 716 | |
| 717 | function create(element) { |
| 718 | return element === FRAGMENT ? document.createDocumentFragment() : document.createElementNS('http://www.w3.org/1999/xhtml', element); |
| 719 | } // it could use createElementNS when hasNode is there |
| 720 | // but this fallback is equally fast and easier to maintain |
| 721 | // it is also battle tested already in all IE |
| 722 |