1function debugModeInit() 2{ 3 if (typeof SGPB_DEBUG_POPUP_BUILDER_DETAILS == 'undefined') { 4 return false; 5 } 6 7 console.log('%c POPUP BUILDER AVAILABLE DEBUG DETAILS', 'background: #eeeeee; color: #000000'); 8 9 for (var popupId in SGPB_DEBUG_POPUP_BUILDER_DETAILS) { 10 console.groupCollapsed('Details for the '+ popupId +' popup:'); 11 12 var debugParamas = SGPB_DEBUG_POPUP_BUILDER_DETAILS[popupId]; 13 for (var i in debugParamas) { 14 if (jQuery.isEmptyObject(debugParamas[i])) { 15 continue; 16 } 17 18 var paramName = debugParamas[i]; 19 20 console.info('%c '+i.toUpperCase() +': ', 'background: #ccc; color: #000000'); 21 22 for (var x in paramName) { 23 if (typeof paramName[x]['name'] != 'undefined') { 24 console.log('%c Option name ------- ' + paramName[x]['name'], 'background: #eeeeee; color: #000000'); 25 } 26 if (typeof paramName[x]['operator'] != 'undefined') { 27 console.log('%c Option operator --- ' + paramName[x]['operator'], 'background: #eeeeee; color: #000000'); 28 } 29 if (typeof paramName[x]['value'] != 'undefined') { 30 if (typeof paramName[x]['value'] == 'string') { 31 /* when empty string we need to set it 0 (delay) */ 32 if (paramName[x]['value'] == '') { 33 paramName[x]['value'] = 0; 34 } 35 console.log('%c Option value ------ ' + paramName[x]['value'], 'background: #eeeeee; color: #000000'); 36 } 37 else { 38 console.log('%c Option value ------ ' + Object.values(paramName[x]['value']), 'background: #eeeeee; color: #000000'); 39 } 40 } 41 if (i == 'options') { 42 /*all other options here*/ 43 for (var option in paramName[x]) { 44 console.log('%c '+option+ ' - ' + paramName[x][option], 'background: #eeeeee; color: #000000'); 45 } 46 } 47 console.log('<->'); 48 } 49 } 50 console.groupEnd(); 51 } 52}; 53 54jQuery(document).ready(function() 55{ 56 debugModeInit(); 57});
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.