<commit_before>'use strict'

const createStore = require('./utils/createStore')
const layout = require('./utils/layout')

module.exports = (initalState, js, next) => {

	createStore(initalState, (err, store) => {

		if (err != null) return next(err)

		const opts = store.getState().opts
		const html = layout('<div id="main"></div>', js, opts)

		next(null, html)

	})

}<commit_msg>Fixed typo<commit_after>'use strict'

const createStore = require('./utils/createStore')
const layout = require('./utils/layout')

module.exports = (initialState, js, next) => {

	createStore(initialState, (err, store) => {

		if (err != null) return next(err)

		const opts = store.getState().opts
		const html = layout('<div id="main"></div>', js, opts)

		next(null, html)

	})

}
{'fraction_non_alphanumeric': 0.18252933507170796, 'fraction_numerical': 0.0, 'mean_word_length': 4.408450704225352, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '6560312', 'n_tokens_mistral': 265, 'n_tokens_neox': 247, 'n_words': 63}