aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/support.js
blob: 4ef1dacab95b1e25333056e44137b1945a24a39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
define([
	"../var/document",
	"../var/support"
], function( document, support ) {

support.createHTMLDocument = (function() {
	var body = document.implementation.createHTMLDocument( "" ).body;
	body.innerHTML = "<form></form><form></form>";
	return body.childNodes.length === 2;
})();

return support;
});