1<inlineSvg> 2 3 <span></span> 4 5 <script> 6 let self = this; 7 self.svg = null; 8 9 self.on('mount', function () { 10 $.get(opts.file, function (data) { 11 12 var $svg = $(data).find('svg'); 13 14 if (typeof opts.remove_fill !== 'undefined') { 15 $svg = removeFill($svg); 16 } 17 18 self.svg = $svg.removeAttr('xmlns:a').prop('outerHTML'); 19 20 self.root.innerHTML = self.svg; 21 self.update(); 22 23 }); 24 25 }); 26 27 function removeFill(svg) { 28 svg.removeAttr("fill"); 29 svg.children().removeAttr("fill"); 30 svg.find('path').removeAttr("fill"); 31 svg.find('circle').removeAttr("fill"); 32 svg.find('polygon').removeAttr("fill"); 33 svg.find('rect').removeAttr("fill"); 34 svg.find('ellipse').removeAttr("fill"); 35 svg.find('text').removeAttr("fill"); 36 return svg; 37 } 38 39 </script> 40</inlineSvg>
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.