mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Use US English spelling throughout and check it in npm test
AI Assisted
This commit is contained in:
1 parent
e67aaabdce
commit
899b3a48d8
84 files changed
+319
-240
No files matched your search
@@ -12,7 +12,7 @@
|
||||
// className, id, type, value, checked, disabled, textContent, placeholder,
|
||||
// title, open, href, target, rel, tabIndex. Text runs are h.el("span", null, text).
|
||||
//
|
||||
// Every button, input and select is made through control(), which greys it
|
||||
// Every button, input and select is made through control(), which grays it
|
||||
// out whenever controlAllowed(mode, role) says no and stamps data-gate with
|
||||
// its role; one disabled for a reason of the view's own also carries
|
||||
// data-own. The guard test in scripts/test-web-console-git-board.mjs holds
|
||||
@@ -64,7 +64,7 @@ function control(ctx, tag, className, label, { role = "action", onClick, onInput
|
||||
return node;
|
||||
}
|
||||
|
||||
// A copy button is a control like any other: greyed while busy.
|
||||
// A copy button is a control like any other: grayed while busy.
|
||||
function copy(ctx, text, cls, codeEl) {
|
||||
const b = ctx.h.copyButton(text, cls, codeEl);
|
||||
b.setAttribute("data-gate", "action");
|
||||
|
||||
Reference in new issue
Block a user