1 var request = null; 2 function createRequest() { 3 try { 4 request = new XMLHttpRequest(); 5 } catch (trymicrosoft) { 6 try { 7 request = new ActiveXObject("Msxml2.XMLHTTP"); 8 } catch (othermicrosoft) { 9 try { 10 request = new ActiveXObject("Microsoft.XMLHTTP"); 11 } catch (failed) { 12 request = null; 13 } 14 } 15 } 16 if (request == null) { 17 alert("Error creating request object"); 18 } 19 }
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.