1var gaiJelly = (function ($){ 2 var t = {}; 3 4 t.busy = false; 5 t.container = $('.content.type-tess-jelly'); 6 7 t.events = function () { 8 9 $('a.button',t.container).click(function(e){ 10 e.preventDefault(); 11 if (!t.busy) { 12 let items = [{ 13 FundId: 98, 14 Amount: 50, 15 jelly: 1, 16 notes: $('.input-jelly input').val(), 17 category: 'contribution|donation', 18 note: 'Name a Jelly', 19 zonedesc: '', 20 pricedesc: '' 21 }]; 22 23 addBatchItemsToCart(items,$(this).siblings('.error-msg'),$(this).siblings('.loader-wrapper'), 24 null, // Default success callback - go to TNEW. 25 function(){ 26 pushException('nameajellyAddToCartFailure'); 27 t.busy = false; 28 } 29 ); 30 31 } 32 }); 33 }; 34 35 t.init = function () { 36 if (t.container.length) { 37 //console.log("Purchase Flow"); 38 39 t.events(); 40 } 41 }; 42 43 return t; 44})(jQuery); 45 46jQuery(function() { gaiJelly.init(); });
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.