<commit_before>"use strict";
const singleton = Symbol();
const singletonEnforcer = Symbol();
const Canvas = require('../app/Canvas.js');
const { Menu, MenuItem } = require('electron').remote;

let applicationMenu;
let canvasSelectionSubmenu;

let canvasList;
let currentCanvas;

class AppManager {
  constructor(enforcer) {
    if (enforcer !== singletonEnforcer) {
      throw new Error('Cannot construct singleton');
    }
    this._type = 'AppManager';
    canvasList = new Array();

    let menu = require('../app/AppMenu.js');
    if (process.platform === 'darwin') menu.configDarwinMenu();<commit_msg>switched new Array() for [] per comments toward PR #19<commit_after>"use strict";
const singleton = Symbol();
const singletonEnforcer = Symbol();
const Canvas = require('../app/Canvas.js');
const { Menu, MenuItem } = require('electron').remote;

let applicationMenu;
let canvasSelectionSubmenu;

let canvasList;
let currentCanvas;

class AppManager {
  constructor(enforcer) {
    if (enforcer !== singletonEnforcer) {
      throw new Error('Cannot construct singleton');
    }
    this._type = 'AppManager';
    canvasList = [];

    let menu = require('../app/AppMenu.js');
    if (process.platform === 'darwin') menu.configDarwinMenu();
{'fraction_non_alphanumeric': 0.14365971107544143, 'fraction_numerical': 0.0016051364365971107, 'mean_word_length': 4.445414847161572, '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': '1402826', 'n_tokens_mistral': 372, 'n_tokens_neox': 356, 'n_words': 97}