MCPcopy
hub / github.com/Justineo/github-hovercard / setInstalled

Function setInstalled

demo/src/demo.js:83–87  ·  view source on GitHub ↗
(isInstalledNow)

Source from the content-addressed store, hash-verified

81 }
82
83 function setInstalled(isInstalledNow) {
84 $installBtn.text('Installed').prop('disabled', true).addClass('disabled');
85 let wording = isInstalledNow ? 'successfully' : 'already';
86 $hint.text(`You have ${wording} installed GitHub Hovercard, enjoy!`);
87 }
88
89 function setInstalling() {
90 $installBtn.text('Installing...').prop('disabled', true);

Callers 1

checkInstalledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected