<commit_before>/* See license.txt for terms of usage */

"use strict";

define(function(require, exports, module) {

/**
 * TODO docs:
 */
const OverlayStore =
/** @lends OverlayStore */
{
  modify: function(id, props) {
    postChromeMessage("modify", [id, props]);
  },

  add: function() {
    postChromeMessage("add");
  },

  remove: function(id) {
    postChromeMessage("remove", [id]);
  },
};

// Exports from this module
exports.OverlayStore = OverlayStore;
});<commit_msg>Update JS docs<commit_after>/* See license.txt for terms of usage */

"use strict";

define(function(require, exports, module) {

/**
 * This object represents a proxy to the real Store object
 * in the chrome scope. All API calls are forwarded through
 * a message manager (as asynchronous events).
 */
const OverlayStore =
/** @lends OverlayStore */
{
  modify: function(id, props) {
    postChromeMessage("modify", [id, props]);
  },

  add: function() {
    postChromeMessage("add");
  },

  remove: function(id) {
    postChromeMessage("remove", [id]);
  },
};

// Exports from this module
exports.OverlayStore = OverlayStore;
});
{'fraction_non_alphanumeric': 0.153088630259624, 'fraction_numerical': 0.0, 'mean_word_length': 3.9251101321585904, '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': '6847910', 'n_tokens_mistral': 359, 'n_tokens_neox': 352, 'n_words': 100}