1(function () { 2 var handlers = []; 3 var ran = false; 4 5 function runHandlers() { 6 if (ran) { 7 return; 8 } 9 ran = true; 10 for (var k in handlers) { 11 handlers[k](jQuery); 12 } 13 } 14 15 // Check if wp.domReady is available (may not be when WP Rocket defers scripts) 16 if (typeof wp !== 'undefined' && typeof wp.domReady === 'function') { 17 wp.domReady(runHandlers); 18 } else { 19 // Fallback to jQuery ready if wp is not available yet 20 jQuery(document).ready(runHandlers); 21 } 22 23 function wpAutoTermsDomReady(fn) { 24 if (ran) { 25 fn(jQuery); 26 } else { 27 handlers.push(fn); 28 } 29 } 30 31 window.wpAutoTermsDomReady = wpAutoTermsDomReady; 32 var oldErrorHandler = window.onerror; 33 window.onerror = function () { 34 runHandlers(); 35 if (oldErrorHandler) { 36 oldErrorHandler.apply(null, arguments); 37 } 38 } 39 jQuery.readyException = runHandlers; 40})();
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.