<commit_before>/*
 * Code that manages the contact form. Attribution goes to Spruce 
 * Interactive's original code at:
 * http://www.spruce.it/noise/simple-ajax-contact-form/
 */


// Start RequireJS code
define("form", ["jquery"], function($) {

  $("#contact").submit(function(event) {
    var name = $("#form-name").val(),
      email = $("#form-email").val(),
      text = $("#message").val(),
      dataString = 'name='+ name + '&email=' + email + '&text=' + text,
      formHeight = $("#contact").height();
<commit_msg>change id names on the name & message fields in js/form.js<commit_after>/*
 * Code that manages the contact form. Attribution goes to Spruce 
 * Interactive's original code at:
 * http://www.spruce.it/noise/simple-ajax-contact-form/
 */


// Start RequireJS code
define("form", ["jquery"], function($) {

  $("#contact").submit(function(event) {
    var name = $("#formNameField").val(),
      email = $("#formEmailField").val(),
      text = $("#messageField").val(),
      dataString = 'name='+ name + '&email=' + email + '&text=' + text,
      formHeight = $("#contact").height();

{'fraction_non_alphanumeric': 0.2063063063063063, 'fraction_numerical': 0.0, 'mean_word_length': 3.6099585062240664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1136332', 'n_tokens_mistral': 346, 'n_tokens_neox': 325, 'n_words': 87}