MCPcopy
hub / github.com/paperwm/PaperWM / add

Method add

prefsKeybinding.js:403–411  ·  view source on GitHub ↗
(combo)

Source from the content-addressed store, hash-verified

401 }
402
403 add(combo) {
404 const [found, _] = this.find(combo);
405 if (found)
406 return;
407 this.combos.append(combo);
408 if (!combo.disabled) {
409 this._store();
410 }
411 }
412
413 remove(combo) {
414 const [found, pos] = this.find(combo);

Callers 7

activateDndTargetMethod · 0.80
constructorMethod · 0.80
_updateCollisionsMethod · 0.80
_updateKeybindingMethod · 0.80
_initMethod · 0.80
symmetricDifferenceFunction · 0.80
later_addFunction · 0.80

Calls 2

findMethod · 0.95
_storeMethod · 0.95

Tested by

no test coverage detected