Repository navigation
v1.4.0
Added
-
A table can be laid in the family's five cloths:
<kumimoji-table cloth="blue">,mountKumimoji(el, { cloth })andset({ cloth }), theclothembed parameter and Builder option, andKUMIMOJI_CLOTHS,isClothandclothVarsfrom/ui. The demo's header patches lay it through the page's theme. -
checkKumimojigives its reason as a code and values as well as in English. A refusal is now{ ok: false, reason, code, values }:reasonis the sentence it has always been, word for word, andcode("no-hand","givens-not-bag","wild-count-wrong","bag-exceeds-set","answer-not-grid","grid-not-the-bag","tiles-apart","not-a-word"and"grid-not-finished") andvalues({ size }forno-hand,{ word }fornot-a-word) let a site say it in its own language.KUMIMOJI_CHECK_REASONSlists every code with its English clause,kumimojiRefusal(code, values)makes a refusal, and the types areKumimojiCheckCodeandKumimojiCheckValues. A test holds every refusal'sreasonto its code's clause filled with its values.