<commit_before>Template.hello.events({
  'submit #getStories': function (event, template) {
    //prevent default behavior of refreshing the page
    event.preventDefault();

    var category = $("#categoryId").val();

    /* Getting stories by category */
    console.log("Getting category id: " + category);

<<<<<<< HEAD:Wattpad-search.js
      /* Getting stories by category */
      console.log("Getting category id: " + category);

      getStories(category);
    }
  });

}
=======
    getStories(category);
  }
});
>>>>>>> origin/master:client/getData.js

function setAuthorization(xhr)
{
  xhr.setRequestHeader("Authorization", "<KEY>");
}

if (Meteor.isServer) {
  Meteor.startup(function () {
    // code to run on server at startup<commit_msg>Fix previous git commit<commit_after>Template.hello.events({
  'submit #getStories': function (event, template) {
    //prevent default behavior of refreshing the page
    event.preventDefault();

    var category = $("#categoryId").val();

    /* Getting stories by category */
    console.log("Getting category id: " + category);

    getStories(category);
  }
});

function setAuthorization(xhr)
{
  xhr.setRequestHeader("Authorization", "<KEY>");
}

if (Meteor.isServer) {
  Meteor.startup(function () {
    // code to run on server at startup
{'fraction_non_alphanumeric': 0.15514592933947774, 'fraction_numerical': 0.0, 'mean_word_length': 3.7381818181818183, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '2309434', 'n_tokens_mistral': 393, 'n_tokens_neox': 384, 'n_words': 93}