<commit_before>import $ from 'jquery'
import '@babel/polyfill'
import {init} from '@sentry/browser';
import 'bootstrap'

import './style/weinstein.less';

import {addGlobal} from './globals';
import {TastersView} from './views/tasterview';
import {retastebutton} from './retastebutton';
import {setUser} from './user';
import {WineCollection} from './models/wine';
import {WinesView} from './views/wineview';

// TODO: refactor away from these globals
addGlobal('$', $);
addGlobal('TastersView', TastersView);
addGlobal('retastebutton', retastebutton);
addGlobal('WineCollection', WineCollection);
addGlobal('WinesView', WinesView);
addGlobal('setUser', setUser);

console.debug('Weinstein dependencies and scripts loaded');<commit_msg>Fix loading of select2 lib<commit_after>import $ from 'jquery'
import '@babel/polyfill'
import {init} from '@sentry/browser';
import 'bootstrap'
import 'select2/dist/css/select2.css'
import 'select2/dist/js/select2'
import 'select2/dist/js/i18n/de'

import './style/weinstein.less';

import {addGlobal} from './globals';
import './entertab'
import {TastersView} from './views/tasterview';
import {retastebutton} from './retastebutton';
import {setUser} from './user';
import {WineCollection} from './models/wine';
import {WinesView} from './views/wineview';

// TODO: refactor away from these globals
addGlobal('$', $);
addGlobal('TastersView', TastersView);
addGlobal('retastebutton', retastebutton);
addGlobal('WineCollection', WineCollection);
addGlobal('WinesView', WinesView);
addGlobal('setUser', setUser);

console.debug('Weinstein dependencies and scripts loaded');
{'fraction_non_alphanumeric': 0.15972653822249844, 'fraction_numerical': 0.004972032318210068, 'mean_word_length': 6.892156862745098, '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': '183140', 'n_tokens_mistral': 504, 'n_tokens_neox': 490, 'n_words': 129}