vendor: 1,058 bytes, lines 1-34
1/*! http://tinynav.viljamis.com v1.1 by @viljamis */ 2(function(a, i, g) { 3 a.fn.tinyNav = function(j) { 4 var b = a.extend({ 5 active: "selected", 6 header: "", 7 label: "" 8 }, j); 9 return this.each(function() { 10 g++; 11 var h = a(this), 12 d = "tinynav" + g, 13 f = ".l_" + d, 14 e = a("<select/>").attr("id", d).addClass("tinynav " + d); 15 if (h.is("ul,ol")) { 16 "" !== b.header && e.append(a("<option/>").text(b.header)); 17 var c = ""; 18 h.addClass("l_" + d).find("a").each(function() { 19 c += '<option value="' + a(this).attr("href") + '">'; 20 var b; 21 for (b = 0; b < a(this).parents("ul, ol").length - 1; b++) c += "- "; 22 c += a(this).text() + "</option>" 23 }); 24 e.append(c); 25 b.header || e.find(":eq(" + a(f + " li").index(a(f + " li." + b.active)) + ")").attr("selected", !0); 26 e.change(function() { 27 i.location.href = a(this).val() 28 }); 29 a(f).after(e); 30 b.label && e.before(a("<label/>").attr("for", d).addClass("tinynav_label " + d + "_label").append(b.label)) 31 } 32 }) 33 } 34})(jQuery, this, 0);
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.