<commit_before>'use babel';

import GodsDjsView from './godsdjs-view';
import { CompositeDisposable } from 'atom';

export default {

  godsdjsView: null,
  subscriptions: null,

  activate(state) {
    this.godsdjsView = new GodsDjsView(state.godsdjsViewState);

    // Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable
    this.subscriptions = new CompositeDisposable();

    // Register command that toggles this view
    this.subscriptions.add(atom.commands.add('atom-workspace', {
      'godsdjs:toggle': () => this.toggle()
    }));
  },

  consumeStatusBar(statusBar) {
	statusBar.addRightTile({
		item: this.godsdjsView.getElement(),
		priority: 0
	})
  }

  deactivate() {
    this.footerPanel.destroy();
    this.subscriptions.dispose();
    this.godsdjsView.destroy();
  },

  serialize() {
    return {
      godsdjsViewState: this.godsdjsView.serialize()
    };
  },

  toggle() {
	this.godsdjsView.toggle();
  }

};
<commit_msg>Even more Debugging<commit_after>'use babel';

import GodsDjsView from './godsdjs-view';
import { CompositeDisposable } from 'atom';

export default {

  godsdjsView: null,
  subscriptions: null,

  activate(state) {
    this.godsdjsView = new GodsDjsView(state.godsdjsViewState);

    // Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable
    this.subscriptions = new CompositeDisposable();

    // Register command that toggles this view
    this.subscriptions.add(atom.commands.add('atom-workspace', {
      'godsdjs:toggle': () => this.toggle()
    }));
  },

  consumeStatusBar(statusBar) {
	this.icon = statusBar.addRightTile({
		item: this.godsdjsView.getElement(),
		priority: 0
	})
  }

  deactivate() {
	this.icon.destroy();
	this.icon = null;
	this.subscriptions.dispose();
    this.godsdjsView.destroy();
  },

  serialize() {
    return {
      godsdjsViewState: this.godsdjsView.serialize()
    };
  },

  toggle() {
	this.godsdjsView.toggle();
  }

};

{'fraction_non_alphanumeric': 0.13229376257545272, 'fraction_numerical': 0.001006036217303823, 'mean_word_length': 3.5935334872979214, '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': '4575124', 'n_tokens_mistral': 679, 'n_tokens_neox': 648, 'n_words': 129}