PageSourceSearch

https://www.yesabruzzo.com/wp-content/plugins/woocommerce-menu-bar-cart/javascript/wpmenucart.js?ver=2.7.7

js yesabruzzo.com collected 2026-10-02 19:38:00 UTC 1,331 bytes, 55 lines download raw bytes

1/* 
2 * JS for WPEC, EDD and eShop
3 * 
4 * AJAX not working for you? Look for the (specific) class attached to your 'add to cart' button (example: YOURCLASS)
5 * The add it to the list of class selectors in the jQuery command:
6 * $(".edd-add-to-cart, .wpsc_buy_button, .eshopbutton, div.cartopt p label.update input#update, .YOURCLASS").click(function(){
7 * 
8 */
9
10jQuery( function( $ ) {
11	var buttons = [
12		".edd-add-to-cart",
13		".wpsc_buy_button",
14		".eshopbutton",
15		"div.cartopt p label.update input#update",
16		".add_to_cart_button",
17		".woocommerce-cart input.minus",
18		".cart_item a.remove",
19		"#order_review .opc_cart_item a.remove",
20		".woocommerce-cart input.plus",
21		".single_add_to_cart_button"
22	];
23
24	var inputs = [
25		"input.edd-item-quantity"
26	];
27
28	jQuery(document.body).on('click', buttons.join(','), function(){
29		WPMenucart_Timeout();
30	});
31
32	jQuery(document.body).on('change', inputs.join(','), function(){
33		WPMenucart_Timeout();
34	});
35		
36	function WPMenucart_Timeout() {
37		setTimeout( WPMenucart_Load_AJAX, 1000);
38	}
39
40	function WPMenucart_Load_AJAX() {
41		var data = {
42			security:	wpmenucart_ajax.nonce,
43			action:		"wpmenucart_ajax",
44		};
45
46		xhr = $.ajax({
47			type:		'POST',
48			url:		wpmenucart_ajax.ajaxurl,
49			data:		data,
50			success:	function( response ) {
51				$('.wpmenucartli').html( response );
52			}
53		});
54	}
55});

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.