1/*! loadJS: load a JS file asynchronously. [c]2014 @scottjehl, Filament Group, Inc. (Based on http://goo.gl/REQGQ by Paul Irish). Licensed MIT */ 2(function( w ){ 3 var loadJS = function( src, cb, ordered ){ 4 "use strict"; 5 var tmp; 6 var ref = w.document.getElementsByTagName( "script" )[ 0 ]; 7 var script = w.document.createElement( "script" ); 8 9 if (typeof(cb) === 'boolean') { 10 tmp = ordered; 11 ordered = cb; 12 cb = tmp; 13 } 14 15 script.src = src; 16 script.async = !ordered; 17 ref.parentNode.insertBefore( script, ref ); 18 19 if (cb && typeof(cb) === "function") { 20 script.onload = cb; 21 } 22 return script; 23 }; 24 // commonjs 25 if( typeof module !== "undefined" ){ 26 module.exports = loadJS; 27 } 28 else { 29 w.loadJS = loadJS; 30 } 31}( typeof global !== "undefined" ? global : this )); 32 33 34setTimeout(function(){ 35 36 console.log("inizio caricamento service worker") 37 loadJS( "/wp-content/themes/tchlab/js/push.js", true ); 38 39},500);
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.