vendor: 4,570 bytes, lines 1-112
1/* Modernizr 2.6.2 (Custom Build) | MIT & BSD 2 * Build: https://modernizr.com/download/#-csstransforms-csstransforms3d-csstransitions-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes 3 */ 4window.Modernizr = function(a, b, c) { 5 function z(a) { 6 j.cssText = a 7 } 8 9 function A(a, b) { 10 return z(m.join(a + ";") + (b || "")) 11 } 12 13 function B(a, b) { 14 return typeof a === b 15 } 16 17 function C(a, b) { 18 return !!~("" + a).indexOf(b) 19 } 20 21 function D(a, b) { 22 for (var d in a) { 23 var e = a[d]; 24 if (!C(e, "-") && j[e] !== c) return b == "pfx" ? e : !0 25 } 26 return !1 27 } 28 29 function E(a, b, d) { 30 for (var e in a) { 31 var f = b[a[e]]; 32 if (f !== c) return d === !1 ? a[e] : B(f, "function") ? f.bind(d || b) : f 33 } 34 return !1 35 } 36 37 function F(a, b, c) { 38 var d = a.charAt(0).toUpperCase() + a.slice(1), 39 e = (a + " " + o.join(d + " ") + d).split(" "); 40 return B(b, "string") || B(b, "undefined") ? D(e, b) : (e = (a + " " + p.join(d + " ") + d).split(" "), E(e, b, c)) 41 } 42 var d = "2.6.2", 43 e = {}, 44 f = !0, 45 g = b.documentElement, 46 h = "modernizr", 47 i = b.createElement(h), 48 j = i.style, 49 k, l = {}.toString, 50 m = " -webkit- -moz- -o- -ms- ".split(" "), 51 n = "Webkit Moz O ms", 52 o = n.split(" "), 53 p = n.toLowerCase().split(" "), 54 q = {}, 55 r = {}, 56 s = {}, 57 t = [], 58 u = t.slice, 59 v, w = function(a, c, d, e) { 60 var f, i, j, k, l = b.createElement("div"), 61 m = b.body, 62 n = m || b.createElement("body"); 63 if (parseInt(d, 10)) 64 while (d--) j = b.createElement("div"), j.id = e ? e[d] : h + (d + 1), l.appendChild(j); 65 return f = ["­", '<style id="s', h, '">', a, "</style>"].join(""), l.id = h, (m ? l : n).innerHTML += f, n.appendChild(l), m || (n.style.background = "", n.style.overflow = "hidden", k = g.style.overflow, g.style.overflow = "hidden", g.appendChild(n)), i = c(l, a), m ? l.parentNode.removeChild(l) : (n.parentNode.removeChild(n), g.style.overflow = k), !!i 66 }, 67 x = {}.hasOwnProperty, 68 y; 69 !B(x, "undefined") && !B(x.call, "undefined") ? y = function(a, b) { 70 return x.call(a, b) 71 } : y = function(a, b) { 72 return b in a && B(a.constructor.prototype[b], "undefined") 73 }, Function.prototype.bind || (Function.prototype.bind = function(b) { 74 var c = this; 75 if (typeof c != "function") throw new TypeError; 76 var d = u.call(arguments, 1), 77 e = function() { 78 if (this instanceof e) { 79 var a = function() {}; 80 a.prototype = c.prototype; 81 var f = new a, 82 g = c.apply(f, d.concat(u.call(arguments))); 83 return Object(g) === g ? g : f 84 } 85 return c.apply(b, d.concat(u.call(arguments))) 86 }; 87 return e 88 }), q.csstransforms = function() { 89 return !!F("transform") 90 }, q.csstransforms3d = function() { 91 var a = !!F("perspective"); 92 return a && "webkitPerspective" in g.style && w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}", function(b, c) { 93 a = b.offsetLeft === 9 && b.offsetHeight === 3 94 }), a 95 }, q.csstransitions = function() { 96 return F("transition") 97 }; 98 for (var G in q) y(q, G) && (v = G.toLowerCase(), e[v] = q[G](), t.push((e[v] ? "" : "no-") + v)); 99 return e.addTest = function(a, b) { 100 if (typeof a == "object") 101 for (var d in a) y(a, d) && e.addTest(d, a[d]); 102 else { 103 a = a.toLowerCase(); 104 if (e[a] !== c) return e; 105 b = typeof b == "function" ? b() : b, typeof f != "undefined" && f && (g.className += " " + (b ? "" : "no-") + a), e[a] = b 106 } 107 return e 108 }, z(""), i = k = null, e._version = d, e._prefixes = m, e._domPrefixes = p, e._cssomPrefixes = o, e.testProp = function(a) { 109 return D([a]) 110 }, e.testAllProps = F, e.testStyles = w, e.prefixed = function(a, b, c) { 111 return b ? F(a, b, c) : F(a, "pfx") 112 }, g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + t.j
112oin(" ") : ""), e 113}(this, this.document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.