<commit_before>/*
 * This Source Code is subject to the terms of the Mozilla Public License
 * version 2.0 (the "License"). You can obtain a copy of the License at
 * http://mozilla.org/MPL/2.0/.
 */

"use strict";

let {port} = require("platform");
port.on("show", state =>
{
  require("./state").set(state);
});

function init()
{
  window.removeEventListener("load", init);

  require("./enterMaster.js");
  require("./changeMaster.js");
  require("./passwordList.js");
  require("./generatePassword.js");
  require("./legacyPassword.js");
}

window.addEventListener("load", init);
<commit_msg>Removed unnecessary file extension in require() calls<commit_after>/*
 * This Source Code is subject to the terms of the Mozilla Public License
 * version 2.0 (the "License"). You can obtain a copy of the License at
 * http://mozilla.org/MPL/2.0/.
 */

"use strict";

let {port} = require("platform");
port.on("show", state =>
{
  require("./state").set(state);
});

function init()
{
  window.removeEventListener("load", init);

  require("./enterMaster");
  require("./changeMaster");
  require("./passwordList");
  require("./generatePassword");
  require("./legacyPassword");
}

window.addEventListener("load", init);

{'fraction_non_alphanumeric': 0.18621821164889255, 'fraction_numerical': 0.006562756357670222, 'mean_word_length': 4.350877192982456, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6229234', 'n_tokens_mistral': 375, 'n_tokens_neox': 364, 'n_words': 100}