<commit_before>import Vue from "vue/dist/vue.esm";
import Vuex from "vuex";
import annotations from "./modules/annotations";
import annotations_ui from "./modules/annotations_ui";
import footnotes_ui from "./modules/footnotes_ui";
import resources_ui from "./modules/resources_ui";
import createLogger from "vuex/dist/logger";

Vue.use(Vuex);

const debug = <%= !Rails.env.production? %>;

export default new Vuex.Store({
  modules: {annotations,
            annotations_ui,
            footnotes_ui,
            resources_ui},
  strict: debug,
  plugins: debug ? [createLogger()] : []
});<commit_msg>Don't show vuex logs in testing<commit_after>import Vue from "vue/dist/vue.esm";
import Vuex from "vuex";
import annotations from "./modules/annotations";
import annotations_ui from "./modules/annotations_ui";
import footnotes_ui from "./modules/footnotes_ui";
import resources_ui from "./modules/resources_ui";
import createLogger from "vuex/dist/logger";

Vue.use(Vuex);

const debug = <%= Rails.env.development? %>;

export default new Vuex.Store({
  modules: {annotations,
            annotations_ui,
            footnotes_ui,
            resources_ui},
  strict: debug,
  plugins: debug ? [createLogger()] : []
});
{'fraction_non_alphanumeric': 0.13114754098360656, 'fraction_numerical': 0.0, 'mean_word_length': 4.045454545454546, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2624704', 'n_tokens_mistral': 378, 'n_tokens_neox': 366, 'n_words': 97}