1$(".ticket-symbol").click(function() 2{ 3 var publicKey = document.getElementById('publicKey').value; 4 var ticketVal = $(this).text(); 5 var languagecode = ""; 6 $(".ticket-symbol").attr('data-toggle', 'modal'); 7 if(location.pathname.indexOf('/fr/') > -1) 8 { 9 $('#stock-modal-content h3').text("'L'information financière: "+ticketVal); 10 languagecode = "fr"; 11 } 12 else{ 13 $('#stock-modal-content h3').text('Financial Information: '+ticketVal); 14 } 15 var divValue = '<div class="modal-body" id="modal-body" style="height: 300px;"><div class="stockquote" id="stockquote"></div> <script type="text/javascript">new currentWidget({ el: document.getElementById("stockquote"), authHeader:"publicKey '+ publicKey +'",symbol:"'+ ticketVal +'",lang:"'+languagecode+'"}).render();<\/script></div>' ; 16 17 if($('#stock-modal-content #modal-body').length == 0 ){ 18 $('#stock-modal-content').append(divValue); 19 } 20 else{ 21 $('#stock-modal-content #modal-body').replaceWith(divValue); 22 } 23});
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.