<commit_before>Spree.fetch_cart();
$('#cart-ajax-message').remove();
$('<p id="cart-ajax-message"><%= Spree.t(:product_was_added_to_your_cart) %></p>').insertAfter('#cart-form');<commit_msg>separate message to partial<commit_after>Spree.fetch_cart();
$('#cart-ajax-message').remove();
$('<%= escape_javascript(render :partial => "add_to_cart_ajax_message") %>').insertAfter('#cart-form');
{'fraction_non_alphanumeric': 0.24484536082474226, 'fraction_numerical': 0.0, 'mean_word_length': 11.15625, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5380347', 'n_tokens_mistral': 132, 'n_tokens_neox': 130, 'n_words': 14}