1var defsoftware; 2(function (defsoftware) { 3 var HTML; 4 (function (HTML) { 5 function makeElement(tagName) { 6 var args = []; 7 for (var _i = 1; _i < arguments.length; _i++) { 8 args[_i - 1] = arguments[_i]; 9 } 10 function makeNode(x) { 11 if (typeof x == "string") { 12 return document.createTextNode(x); 13 } else { 14 return x; 15 } 16 } 17 var element = document.createElement(tagName); 18 if (args.length > 0 && $.isPlainObject(args[0])) { 19 var attributes = args.shift(); 20 $(element).attr(attributes); 21 } 22 return $(element).append(args.flatten().map(makeNode)); 23 } 24 HTML.makeElement = makeElement; 25 })(HTML = defsoftware.HTML || (defsoftware.HTML = {})); 26})(defsoftware || (defsoftware = {})); 27//# sourceMappingURL=defsoftware-utils.js.map
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.