<commit_before>// importing functions
const addEvent = require('./events').addEvent;
const removeChilds = require('./removeChilds').removeChilds;

// DOM Elements
const _searchWrap  = document.querySelector('.search-container');
const _searchInput = _searchWrap.querySelector('.search-input');
const _searchIcon  = _searchWrap.querySelector('.clear-search-input');
const _searchList  = _searchWrap.querySelector('.search-results-list');

// defining remove_searchList function
const remove_searchList = () => {
  removeChilds(_searchList, _searchInput);
};

// adding eventlistener on close icon click
addEvent(_searchIcon, 'click', remove_searchList);

// exporting function
module.exports = {
  removeChilds
};<commit_msg>get rid of curly brackets as using es6 syntax<commit_after>// importing functions
const addEvent = require('./events').addEvent;
const removeChilds = require('./removeChilds').removeChilds;

// DOM Elements
const _searchWrap  = document.querySelector('.search-container');
const _searchInput = _searchWrap.querySelector('.search-input');
const _searchIcon  = _searchWrap.querySelector('.clear-search-input');
const _searchList  = _searchWrap.querySelector('.search-results-list');

// defining remove_searchList function
const remove_searchList = () => removeChilds(_searchList, _searchInput);

// adding eventlistener on close icon click
addEvent(_searchIcon, 'click', remove_searchList);

// exporting function
module.exports = {
  removeChilds
};
{'fraction_non_alphanumeric': 0.12423625254582485, 'fraction_numerical': 0.0006788866259334691, 'mean_word_length': 6.052631578947368, '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': '1770492', 'n_tokens_mistral': 394, 'n_tokens_neox': 394, 'n_words': 94}