<commit_before>import add from '../support/task';
import eventHandlers from './eventHandlers';
import getMembrList from '../ajax/getMembrList';
import {pCC} from '../support/layout';
import prepareChildRows from './prepareChildRows';
import reportHeader from './reportHeader';
import searchUser from './searchUser';

export default function injectReportPaint() { // jQuery
  getMembrList(false).done(function() {
    add(3, reportHeader);
  });
  add(2, searchUser);
  add(3, prepareChildRows);
  pCC.getElementsByTagName('TABLE')[1]
    .addEventListener('click', eventHandlers);
}<commit_msg>test for jQuery in injectReportPaint<commit_after>import add from '../support/task';
import eventHandlers from './eventHandlers';
import getMembrList from '../ajax/getMembrList';
import {pCC} from '../support/layout';
import prepareChildRows from './prepareChildRows';
import reportHeader from './reportHeader';
import searchUser from './searchUser';

export default function injectReportPaint() { // jQuery
  if (typeof $ !== 'function') {return;}
  getMembrList(false).done(function() {
    add(3, reportHeader);
  });
  add(2, searchUser);
  add(3, prepareChildRows);
  pCC.getElementsByTagName('TABLE')[1]
    .addEventListener('click', eventHandlers);
}
{'fraction_non_alphanumeric': 0.14936102236421725, 'fraction_numerical': 0.006389776357827476, 'mean_word_length': 5.425641025641026, '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': '3817386', 'n_tokens_mistral': 358, 'n_tokens_neox': 356, 'n_words': 94}