<commit_before>Pebble.addEventListener("ready",
						function(e) {
							console.log("PebbleKit JS ready!");
						});

Pebble.addEventListener("showConfiguration",
						function(e) {
							//Load the remote config page
							Pebble.openURL("http://geekjosh.github.io/Pebble-Gaptime/appconfig.html");
						});

Pebble.addEventListener("webviewclosed",
						function(e) {
							//Get JSON dictionary
							var configuration = JSON.parse(decodeURIComponent(e.response));
							console.log("Configuration window returned: " + JSON.stringify(configuration));
							
							//Send to Pebble, persist there
							Pebble.sendAppMessage(
								{
									"KEY_TEXT_TIME": configuration.textTime,
									"KEY_INVERT": configuration.invert
								},
								function(e) {
									console.log("Sending settings data...");
								},
								function(e) {
									console.log("Settings feedback failed!");
								});
						});<commit_msg>Submit handOrder to watch app<commit_after>Pebble.addEventListener("ready",
						function(e) {
							console.log("PebbleKit JS ready!");
						});

Pebble.addEventListener("showConfiguration",
						function(e) {
							//Load the remote config page
							Pebble.openURL("http://geekjosh.github.io/Pebble-Gaptime/appconfig.html");
						});

Pebble.addEventListener("webviewclosed",
						function(e) {
							//Get JSON dictionary
							var configuration = JSON.parse(decodeURIComponent(e.response));
							console.log("Configuration window returned: " + JSON.stringify(configuration));

							//Send to Pebble, persist there
							Pebble.sendAppMessage(
								{
									"KEY_TEXT_TIME": configuration.textTime,
									"KEY_INVERT": configuration.invert,
									"KEY_HAND_ORDER": configuration.handOrder
								},
								function(e) {
									console.log("Sending settings data...");
								},
								function(e) {
									console.log("Settings feedback failed!");
								});
						});
{'fraction_non_alphanumeric': 0.130568356374808, 'fraction_numerical': 0.0, 'mean_word_length': 2.5017921146953404, 'pattern_counts': {'":': 5, '<': 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': '7006247', 'n_tokens_mistral': 861, 'n_tokens_neox': 543, 'n_words': 92}