<commit_before>var EXPORT = ['urlEditor'];

elementGetter(this, 'addInput', 'hBookmark-urlEditor-add-input', document);
elementGetter(this, 'listbox', 'hBookmark-urlEditor-listbox', document);

var urlEditor = {
    get strings() {
        if (!Config._strings) {
            Config._strings = new Strings("chrome://hatenabookmark/locale/urlEditor.properties");
        }
        return Config._strings;
    },
    init: function() {
    },
    add: function() {
        let url = addInput.value;
        url = url.replace(/\s+/g, '');
        if (!url.length) return;

        try {
            new RegExp(url);<commit_msg>重複している関数 init() を消す<commit_after>var EXPORT = ['urlEditor'];

elementGetter(this, 'addInput', 'hBookmark-urlEditor-add-input', document);
elementGetter(this, 'listbox', 'hBookmark-urlEditor-listbox', document);

var urlEditor = {
    get strings() {
        if (!Config._strings) {
            Config._strings = new Strings("chrome://hatenabookmark/locale/urlEditor.properties");
        }
        return Config._strings;
    },
    add: function() {
        let url = addInput.value;
        url = url.replace(/\s+/g, '');
        if (!url.length) return;

        try {
            new RegExp(url);
{'fraction_non_alphanumeric': 0.15359477124183007, 'fraction_numerical': 0.0, 'mean_word_length': 2.635014836795252, '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': '4810342', 'n_tokens_mistral': 382, 'n_tokens_neox': 383, 'n_words': 73}