Differences From Artifact [3dc39be41a]:
- File gc_core/js/jsex_map.js — part of check-in [b89dc82bc4] at 2017-08-08 19:11:22 on branch webext2_fix — [core] add inline config for JSHint assuming es6 synthax and some global (user: IllusionPerdu, size: 1287) [annotate] [blame] [check-ins using] [more...]
To Artifact [640f46f082]:
- File gc_core/js/jsex_map.js — part of check-in [4b57907a81] at 2017-09-15 10:01:02 on branch trunk — [core][js] fix spell suggestion engine (user: olr, size: 1481) [annotate] [blame] [check-ins using]
- File js_extension/map.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: 1481) [annotate] [blame] [check-ins using]
| ︙ | |||
39 40 41 42 43 44 45 46 47 48 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + + + + + + + |
Map.prototype.gl_updateOnlyExistingKeys = function (dDict) {
for (let [k, v] of dDict.entries()) {
if (this.has(k)){
this.set(k, v);
}
}
};
Map.prototype.gl_reverse = function () {
let dNewMap = new Map();
this.forEach((val, key) => {
dNewMap.set(val, key);
});
return dNewMap;
};
Map.prototype.grammalecte = true;
}
|