<commit_before>"use strict";

import React from 'react';
import ReactDOM from 'react-dom';

import App from './components/app.jsx';
import store from './reducers/store';
import autosave from './autosave';
import keyboard from './keyboard';

autosave(store);
keyboard(store);

ReactDOM.render(
  React.createElement(App, {store}),
  document.getElementById('app')
);


/*************************************************************************
 ****************************** DEBUG ************************************
 *************************************************************************/
window.Metior = {
  ReactPerf: require('react-addons-perf'),
  store: store,
  dispatch: store.dispatch,
  getState: () => store.getState().toJS(),
  projectActions: require('./actions/project-actions'),
  editingActions: require('./actions/editing-actions'),
  viewer2DActions: require('./actions/viewer2d-actions'),
  viewer3DActions: require('./actions/viewer3d-actions'),
  volumesActions: require('./actions/volumes-actions'),
  drawingActions: require('./actions/drawing-actions'),
  sceneActions: require('./actions/scene-actions')<commit_msg>enhances debug actions binding<commit_after>"use strict";

import React from 'react';
import ReactDOM from 'react-dom';

import App from './components/app.jsx';
import store from './reducers/store';
import autosave from './autosave';
import keyboard from './keyboard';
import actions from './actions/actions';

autosave(store);
keyboard(store);

ReactDOM.render(
  React.createElement(App, {store}),
  document.getElementById('app')
);


/*************************************************************************
 ****************************** DEBUG ************************************
 *************************************************************************/
window.Metior = {
  ReactPerf: require('react-addons-perf'),
  store: store,
  dispatch: store.dispatch,
  getState: () => store.getState().toJS(),
  ...actions
{'fraction_non_alphanumeric': 0.3445121951219512, 'fraction_numerical': 0.0020325203252032522, 'mean_word_length': 6.602316602316602, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5027697', 'n_tokens_mistral': 508, 'n_tokens_neox': 494, 'n_words': 105}