<commit_before>var TODAYS_FORECAST_HOURS_CUTOFF = 15; // 3:00 PM
var OPENWEATHERMAP_API_KEY = '<KEY>';

Pebble.addEventListener('ready', function (e) {
  console.debug('listener:ready');
  console.debug('sendAppMessage:ready');
  Pebble.sendAppMessage({ KEY_READY: 1 }, function (e) {
    console.debug('sendAppMessage:ready:success');
  }, function (e) {
    console.error('sendAppMessage:ready:error: ' + String(e));
  });
});

Pebble.addEventListener('showConfiguration', function(e) {
  console.debug('listener:showConfiguration');
  var configJson = localStorage.config;
  Pebble.openURL('http://benkrejci.com/fourcast/config.html#' + encodeURIComponent(configJson));
});<commit_msg>shouldn't actually be anything here...<commit_after>var TODAYS_FORECAST_HOURS_CUTOFF = 15; // 3:00 PM
var CONFIG_PAGE_URL = 'http://benkrejci.com/fourcast/config1.html';
var OPENWEATHERMAP_API_KEY = '<KEY>';

Pebble.addEventListener('ready', function (e) {
  console.debug('listener:ready');
  console.debug('sendAppMessage:ready');
  Pebble.sendAppMessage({ KEY_READY: 1 }, function (e) {
    console.debug('sendAppMessage:ready:success');
  }, function (e) {
    console.error('sendAppMessage:ready:error: ' + String(e));
  });
});

Pebble.addEventListener('showConfiguration', function(e) {
  console.debug('listener:showConfiguration');
  var configJson = localStorage.config;
  Pebble.openURL(CONFIG_PAGE_URL + '#' + encodeURIComponent(configJson));
});
{'fraction_non_alphanumeric': 0.16390041493775934, 'fraction_numerical': 0.008990318118948824, 'mean_word_length': 6.458762886597938, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4575544', 'n_tokens_mistral': 492, 'n_tokens_neox': 479, 'n_words': 69}