1jQuery( function ( $ ) { 2 "use strict"; 3 4 var VariationFields = { 5 6 get: function () { 7 jQuery( 'body' ).on( 'found_variation', function ( e, variation ) { 8 if ( variation.variation_id ) { 9 var data = { 10 'action': 'get_variation_fields', 11 'security': fc_front.security, 12 'variation_id': variation.variation_id, 13 }; 14 15 jQuery.post( fc_front.ajax_url, data, function ( response ) { 16 if ( response.success ) { 17 jQuery( 'div.pdf-coupon-fields' ).html( response.data ); 18 } else { 19 console.log( response.data ); 20 } 21 } ); 22 } 23 } ); 24 }, 25 26 }; 27 28 VariationFields.get(); 29 30} );
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.