1var ecblib = ecblib || {}; 2ecblib.goods_cartlist = ecblib.goods_cartlist || {}; 3 4(function () { 5 var _goods_cartlist = ecblib.goods_cartlist; 6 7 var cartlistfunc = function (isSlide) { 8 if (isSlide) { 9 jQuery("#jscart_replace_").css("display", "none"); 10 } 11 jQuery("#jscart_replace_").load(ecblib.sys.wwwroot + "/shop/js/cart.aspx", function () { 12 var rem_fn = function () { 13 jQuery(".js-jscart-delete-btn").each(function () { 14 var cart = jQuery(this).attr("data-cart"); 15 jQuery(this).bind("click", function () { 16 jQuery("#js_jscart_items_" + cart).slideUp("normal", function () { 17 jQuery(this).remove(); 18 jQuery.ajax({ 19 type: "POST", 20 url: ecblib.sys.wwwroot + "/shop/js/delcart.aspx", 21 data: { 22 "cart": cart, 23 "crsirefo_hidden": crsirefo_jscart 24 }, 25 cache: false, 26 success: function () { 27 cartlistfunc(false); 28 } 29 }); 30 }); 31 }); 32 }); 33 }; 34 if (isSlide) { 35 jQuery("#jscart_replace_").show(); 36 rem_fn(); 37 } else { 38 rem_fn(); 39 } 40 }); 41 }; 42 cartlistfunc(true); 43}());
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.