<commit_before>/*
 * @file Holds all Remote Paint API extensions and related functions. Runs in
 * persistent global above modes in RoboPaint proper whether the mode is enabled
 * or not! Be kind in this space, you can control almost everything, and the
 * APIs are undocumented wild-west territory.
 */

// All RoboPaint API state vars should be stored here
if (!robopaint.api) robopaint.api = {};

// Global remote print state and storage variables
robopaint.api.print = {
  enabled: true, // This allows for queueing without having the mode open
  ready: false, // We still require operator interaction to enable readiness.
  queue: [], // Array of Objects for actual queue
  requestOptions: {}, // Requested print settings for a new print queue item
  settingsOverrideWhitelist: [
    'autostrokeenabled',
    'strokeprecision',
    'strokeovershoot',
    'strokefills',
    'strokeinvisible',
    'autostrokeiteration',<commit_msg>Globals linting<commit_after>/*
 * @file Holds all Remote Paint API extensions and related functions. Runs in
 * persistent global above modes in RoboPaint proper whether the mode is enabled
 * or not! Be kind in this space, you can control almost everything, and the
 * APIs are undocumented wild-west territory.
 */

/* globals $, robopaint, cncserver, appMode, window */

// All RoboPaint API state vars should be stored here
if (!robopaint.api) robopaint.api = {};

// Global remote print state and storage variables
robopaint.api.print = {
  enabled: true, // This allows for queueing without having the mode open
  ready: false, // We still require operator interaction to enable readiness.
  queue: [], // Array of Objects for actual queue
  requestOptions: {}, // Requested print settings for a new print queue item
  settingsOverrideWhitelist: [
    'autostrokeenabled',
    'strokeprecision',
    'strokeovershoot',
    'strokefills',
    'strokeinvisible',
    'autostrokeiteration',
{'fraction_non_alphanumeric': 0.08341968911917098, 'fraction_numerical': 0.0, 'mean_word_length': 3.938618925831202, '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': '7435075', 'n_tokens_mistral': 521, 'n_tokens_neox': 508, 'n_words': 223}