<commit_before>import '../lib/gj-lib-client/utils/polyfills';
import './main.styl';

import { store } from './store/index';
import { router } from './views/index';
import { App } from './app';
import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
import { bootstrapCommon } from '../_common/bootstrap';

const _createApp = bootstrapCommon(App, store, router);
export function createApp() {
	return { app: _createApp(), store, router };
}

if (GJ_IS_CLIENT) {
	require('./bootstrap-client');
}

Ads.init(router);

GamePlayModal.init({ canMinimize: true });
bootstrapShortkey();

Registry.setConfig('Game', { maxItems: 100 });
Registry.setConfig('User', { maxItems: 50 });
Registry.setConfig('FiresidePost', { maxItems: 50 });<commit_msg>Set registry to store more users.<commit_after>import { Ads } from '../lib/gj-lib-client/components/ad/ads.service';
import { GamePlayModal } from '../lib/gj-lib-client/components/game/play-modal/play-modal.service';
import { Registry } from '../lib/gj-lib-client/components/registry/registry.service';
import '../lib/gj-lib-client/utils/polyfills';
import { bootstrapShortkey } from '../lib/gj-lib-client/vue/shortkey';
import { bootstrapCommon } from '../_common/bootstrap';
import { App } from './app';
import './main.styl';
import { store } from './store/index';
import { router } from './views/index';

const _createApp = bootstrapCommon(App, store, router);
export function createApp() {
	return { app: _createApp(), store, router };
}

if (GJ_IS_CLIENT) {
	require('./bootstrap-client');
}

Ads.init(router);

GamePlayModal.init({ canMinimize: true });
bootstrapShortkey();

Registry.setConfig('Game', { maxItems: 100 });
Registry.setConfig('User', { maxItems: 150 });
Registry.setConfig('FiresidePost', { maxItems: 50 });
{'fraction_non_alphanumeric': 0.18400392541707555, 'fraction_numerical': 0.007360157016683023, 'mean_word_length': 4.727528089887641, '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': '5483839', 'n_tokens_mistral': 664, 'n_tokens_neox': 638, 'n_words': 137}