Grammalecte  Artifact Content

Artifact c1ba86ddef3e322d3a005b138a72a00541848b859560c98d7970d6527336a6f3:

  • File gc_core/js/jsex_set.js — part of check-in [ae2968927f] at 2017-09-14 06:42:03 on branch trunk — [core][js] ibdawg: suggestion mechanism for the spellchecker (user: olr size: 247)
  • File js_extension/set.js — part of check-in [66d247e62a] at 2017-12-24 18:52:35 on branch graphspell — [build][js] move JS language core extension to a dedicated folder (user: olr size: 247)


// Set
/*jslint esversion: 6*/

if (Set.prototype.grammalecte === undefined) {
    Set.prototype.gl_update = function (aSet) {
        for (let elem of aSet) {
            this.add(elem);
        }
    };

    Set.prototype.grammalecte = true;
}