<commit_before>var m = require('mithril')
var Sidebar = require('./sidebar')
var CodeMirror = require('codemirror')
var Immutable = require('seamless-immutable');
var Document = require('../models/document');
var actions = require('../state/actions/actions');
var rendererStore = require('../rendererStore');
var url = require('url');
var querystring = require('querystring');
var queryParams = querystring.parse(url.parse(window.location.href).query);
var root = document.body;

var cmOptions = {
    lineWrapping : true,
    lineNumbers: false,
    singleCursorHeightPerLine: false,
    autofocus: true,
    pollInterval: 100
};

var stateData = rendererStore.getState();
var unsubscribe = rendererStore.subscribe(function() {
  stateData = rendererStore.getState();
  // console.log(stateData);
  m.redraw();
});

module.exports = Workspace = {
  view: function() {
    return m('div', [
      m(Page, {stateData: stateData}),
      m('div#cursor_mount', {style: 'display:none'})
      ]);
  }
}
<commit_msg>removing console log comment<commit_after>var m = require('mithril')
var Sidebar = require('./sidebar')
var CodeMirror = require('codemirror')
var Immutable = require('seamless-immutable');
var Document = require('../models/document');
var actions = require('../state/actions/actions');
var rendererStore = require('../rendererStore');
var url = require('url');
var querystring = require('querystring');
var queryParams = querystring.parse(url.parse(window.location.href).query);
var root = document.body;

var cmOptions = {
    lineWrapping : true,
    lineNumbers: false,
    singleCursorHeightPerLine: false,
    autofocus: true,
    pollInterval: 100
};

var stateData = rendererStore.getState();
var unsubscribe = rendererStore.subscribe(function() {
  stateData = rendererStore.getState();
  m.redraw();
});

module.exports = Workspace = {
  view: function() {
    return m('div', [
      m(Page, {stateData: stateData}),
      m('div#cursor_mount', {style: 'display:none'})
      ]);
  }
}

{'fraction_non_alphanumeric': 0.15836653386454183, 'fraction_numerical': 0.00298804780876494, 'mean_word_length': 4.627450980392157, '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': '2732663', 'n_tokens_mistral': 627, 'n_tokens_neox': 614, 'n_words': 136}