<commit_before>/*jslint indent: 2, nomen: true, maxlen: 100, sloppy: true, vars: true, white: true, plusplus: true */
/*global window, $  */

window.arangoHelper = {
  lastNotificationMessage: null,

  CollectionTypes: {},
  systemAttributes: function () {
    return {
      '_id' : true,
      '_rev' : true,
      '_key' : true,
      '_bidirectional' : true,
      '_vertices' : true,
      '_from' : true,
      '_to' : true,
      '$id' : true
    };
  },
  removeNotifications: function () {
    $.gritter.removeAll();
    this.lastNotificationMessage = null;
  },
  arangoNotification: function (message) {
    var returnVal = false;
    $.gritter.add({
      title: "Notice:",
      text: message,
      time: 3000,
      before_open: function(){
        returnVal = true;
      }
    });
    this.lastNotificationMessage = message;<commit_msg>notifications<commit_after>/*jslint indent: 2, nomen: true, maxlen: 100, sloppy: true, vars: true, white: true, plusplus: true */
/*global window, $  */

window.arangoHelper = {
  lastNotificationMessage: null,

  CollectionTypes: {},
  systemAttributes: function () {
    return {
      '_id' : true,
      '_rev' : true,
      '_key' : true,
      '_bidirectional' : true,
      '_vertices' : true,
      '_from' : true,
      '_to' : true,
      '$id' : true
    };
  },
  removeNotifications: function () {
    $.gritter.removeAll();
    this.lastNotificationMessage = null;
  },
  arangoNotification: function (message) {
    var returnVal = false;
    $.gritter.add({
      title: "Notice:",
      text: message,
      time: 3000,
      before_open: function(){
        returnVal = true;
      }
    });
    this.lastNotificationMessage = null;
{'fraction_non_alphanumeric': 0.1456253669994128, 'fraction_numerical': 0.009395184967704051, 'mean_word_length': 2.5723270440251573, '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': '6694244', 'n_tokens_mistral': 558, 'n_tokens_neox': 532, 'n_words': 127}