!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("hasdom",["exports"],t):t(e.hasdom={})}(this,function(e){"use strict";function t(e){return"function"==typeof e}function n(){if(i&&t(i.createElement)){var e=i.createElement("div");if(!e)return!1;if(t(e.querySelector)){e.innerHTML="<i></i>";var n=e.querySelector("i");return!!n&&"I"===n.tagName}if(t(e.getElementsByTagName)){var r=e.getElementsByTagName("i");return!!r&&1===r.length}}return!1}var r=(1,eval)("this"),i=r.document;e.hasDOM=n});