<commit_before>// Cookies
//
// Get or set cookie values
//
// Usage:
//
//    GOVUK.cookie('myCookie');
//
//      returns the value of 'myCookie';
//
//    GOVUK.cookie('myCookie', 'hobnob', 30);
//
//      sets the cookie 'myCookie' to 'hobnob' for 30 days.
//


(function () {
  "use strict"
  var root = this,
      $ = root.jQuery;
  if(typeof root.GOVUK === 'undefined') { root.GOVUK = {}; }

  root.GOVUK.cookie = function(name, value, days){
    if(typeof value !== 'undefined'){
      console.log('setting');
      return root.GOVUK.setCookie(name, value, days);
    } else {
      console.log('getting');
      return root.GOVUK.getCookie(name);
    }
  };

  root.GOVUK.setCookie = function(name, value, days){
    var cookieString = name + "=" + value + "; path=/";
    if (days) {<commit_msg>Remove console.log left by accident<commit_after>// Cookies
//
// Get or set cookie values
//
// Usage:
//
//    GOVUK.cookie('myCookie');
//
//      returns the value of 'myCookie';
//
//    GOVUK.cookie('myCookie', 'hobnob', 30);
//
//      sets the cookie 'myCookie' to 'hobnob' for 30 days.
//


(function () {
  "use strict"
  var root = this,
      $ = root.jQuery;
  if(typeof root.GOVUK === 'undefined') { root.GOVUK = {}; }

  root.GOVUK.cookie = function(name, value, days){
    if(typeof value !== 'undefined'){
      return root.GOVUK.setCookie(name, value, days);
    } else {
      return root.GOVUK.getCookie(name);
    }
  };

  root.GOVUK.setCookie = function(name, value, days){
    var cookieString = name + "=" + value + "; path=/";
    if (days) {
{'fraction_non_alphanumeric': 0.18614993646759848, 'fraction_numerical': 0.005082592121982211, 'mean_word_length': 2.5472972972972974, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2392570', 'n_tokens_mistral': 568, 'n_tokens_neox': 546, 'n_words': 130}