<commit_before>$(function() {
  var all_links = $("a[href*='http']");
  new_window(all_links);
  var internal_links = $("a[href*='answers.honolulu.gov']");
  same_window(internal_links);
});

function new_window(links) {
  links.attr("target","_blank");
}

function same_window(links) {
  links.attr("target","");
}<commit_msg>[#6] External links open in new window.<commit_after>$(function() {
  new_window(external_links());
});

function new_window(links) {
  links.attr("target","_blank");
}

function external_links() {
  return $("a[href*='http'],a[href*='www']");
}
{'fraction_non_alphanumeric': 0.22202797202797203, 'fraction_numerical': 0.0017482517482517483, 'mean_word_length': 7.070422535211268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '7483104', 'n_tokens_mistral': 208, 'n_tokens_neox': 203, 'n_words': 30}