1/* global jQuery:false */ 2/* global JACQUELINE_STORAGE:false */ 3 4 5// Theme-specific first load actions 6//============================================== 7function jacqueline_theme_ready_actions() { 8 "use strict"; 9 // Put here your init code with theme-specific actions 10 // It will be called before core actions 11 12 // Checkbox with "I agree..." 13 if (jQuery('input[type="checkbox"][name="i_agree_privacy_policy"]:not(.inited),input[type="checkbox"][name="gdpr_terms"]:not(.inited),input[type="checkbox"][name="wpgdprc"]:not(.inited)').length > 0) { 14 jQuery('input[type="checkbox"][name="i_agree_privacy_policy"]:not(.inited),input[type="checkbox"][name="gdpr_terms"]:not(.inited),input[type="checkbox"][name="wpgdprc"]:not(.inited)') 15 .addClass('inited') 16 .on('change', function(e) { 17 if (jQuery(this).get(0).checked) 18 jQuery(this).parents('form').find('button,input[type="submit"]').removeAttr('disabled'); 19 else 20 jQuery(this).parents('form').find('button,input[type="submit"]').attr('disabled', 'disabled'); 21 }).trigger('change'); 22 } 23 24} 25 26 27// Theme-specific scroll actions 28//============================================== 29function jacqueline_theme_scroll_actions() { 30 "use strict"; 31 // Put here your theme-specific code with scroll actions 32 // It will be called when page is scrolled (before core actions) 33} 34 35 36// Theme-specific resize actions 37//============================================== 38function jacqueline_theme_resize_actions() { 39 "use strict"; 40 // Put here your theme-specific code with resize actions 41 // It will be called when window is resized (before core actions) 42} 43 44 45// Theme-specific shortcodes init 46//===================================================== 47function jacqueline_theme_sc_init(cont) { 48 "use strict"; 49 // Put here your theme-specific code to init shortcodes 50 // It will be called before core init shortcodes 51 // @param cont - jQuery-container with shortcodes (init only inside this container) 52} 53 54 55// Theme-specific post-formats init 56//===================================================== 57function jacqueline_theme_init_post_formats() { 58 "use strict"; 59 // Put here your theme-specific code to init post-formats 60 // It will be called before core init post_formats when page is loaded or after 'Load more' or 'Infinite scroll' actions 61} 62 63 64// Theme-specific GoogleMap styles 65//===================================================== 66function jacqueline_theme_googlemap_styles($styles) { 67 "use strict"; 68 // Put here your theme-specific code to add GoogleMap styles 69 // It will be called before GoogleMap init when page is loaded 70 $styles['greyscale'] = [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]; 71 return $styles; 72}
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.