diff options
Diffstat (limited to 'src/core/support.js')
-rw-r--r-- | src/core/support.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/support.js b/src/core/support.js new file mode 100644 index 000000000..ebed460ae --- /dev/null +++ b/src/core/support.js @@ -0,0 +1,12 @@ +define([ + "../var/support" +], function( support ) { + +support.createHTMLDocument = (function() { + var doc = document.implementation.createHTMLDocument( "" ); + doc.body.innerHTML = "<form></form><form></form>"; + return doc.body.childNodes.length === 2; +})(); + +return support; +}); |