<commit_before>import 'app.scss'; // styles
import 'vendor';
import 'core';
import 'templates-cache.generated'; // generated by grunt 'ngtemplates' task
import 'apps';
import 'external-apps';

/* globals __SUPERDESK_CONFIG__: true */
const appConfig = __SUPERDESK_CONFIG__;

if (appConfig.features.useTansaProofing) {
    // see: http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/
    setTimeout(() => require('apps/tansa'), 0);
}

let body = angular.element('body');

function initializeConfigDefaults(config) {<commit_msg>Fix tansa load.<commit_after>import 'app.scss'; // styles
import 'vendor';
import 'core';
import 'templates-cache.generated'; // generated by grunt 'ngtemplates' task
import 'apps';
import 'external-apps';

/* globals __SUPERDESK_CONFIG__: true */
const appConfig = __SUPERDESK_CONFIG__;

if (appConfig.features.useTansaProofing) {
    require('apps/tansa');
}

let body = angular.element('body');

function initializeConfigDefaults(config) {
{'fraction_non_alphanumeric': 0.14257228315054835, 'fraction_numerical': 0.0009970089730807576, 'mean_word_length': 5.6490066225165565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '5652569', 'n_tokens_mistral': 322, 'n_tokens_neox': 319, 'n_words': 70}