PageSourceSearch

https://www.nope-engineering.com/wp-content/themes/north/woocommerce/assets/woocommerce-scripts.js?ver=6.8.11

js nope-engineering.com collected 2026-10-08 09:39:46 UTC 1,593 bytes, 65 lines download raw bytes

1/*
2 * ---------------------------------------------------------------- 
3 *  
4 *  WooCommerce custom javascripts
5 *  
6 * ----------------------------------------------------------------  
7 */
8
9
10jQuery(document).ready(function($) {
11
12	add_to_cart_action();
13	add_to_cart_data();
14	
15	jQuery('#woo-nav-cart').on('mouseenter mouseleave', function() {
16		jQuery(this).find('i').removeClass('added');
17		jQuery(this).find('pulsed').removeClass('pulse-now');
18	});
19	
20	
21    if(jQuery('#woo-nav-cart').length !== 0) {
22    	jQuery('#woo-nav-cart').hover(function() {
23    		jQuery('#woo-nav-cart .nav-cart-products').stop().fadeIn();
24    	}, function() {
25    		jQuery('#woo-nav-cart .nav-cart-products').stop().fadeOut();
26    	});
27    }
28	
29});
30
31var currentItem = '';
32var count;
33function add_to_cart_action() {
34	
35	jQuery('body').bind('added_to_cart', function()
36	{
37		
38		jQuery('#woo-nav-cart i').addClass('added');
39		
40		var pulsar = jQuery('#woo-nav-cart .pulsed');
41		var newPulsar = pulsar.clone(true);
42		
43		pulsar.replaceWith(newPulsar);
44		
45		jQuery('#woo-nav-cart .pulsed').removeClass('pulse-now').addClass('pulse-now');
46
47	});
48	
49}
50
51var newWooProduct = {};
52function add_to_cart_data()
53{
54	jQuery('body').on('click','.add_to_cart_button', function()
55	{	
56
57		var productContainer	= jQuery(this).parents('.product').eq(0), product = {};
58			product.name		= productContainer.find('h3').text();
59			product.img		 	= productContainer.find('.product-thumbnail img.wp-post-imag');
60			product.price	 	= productContainer.find('.price .amount').last().text().replace(/[^0-9\.]+/g, '');
61			
62			newWooProduct = product;
63
64	});
65}

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.