Remove some shortcuts due to conflicts, read #252

This commit is contained in:
the-djmaze 2022-03-02 09:26:30 +01:00
parent 4250dcf3f0
commit 096faae844
8 changed files with 18 additions and 40 deletions

View file

@ -29,16 +29,6 @@ export const
domItem && item && undefined !== item.disabled
&& domItem.classList.toggle('disabled', domItem.disabled = item.disabled),
inFocus = () => {
try {
return doc.activeElement && doc.activeElement.matches(
'input,textarea,[contenteditable]'
);
} catch (e) {
return false;
}
},
// unescape(encodeURIComponent()) makes the UTF-16 DOMString to an UTF-8 string
b64EncodeJSON = data => btoa(unescape(encodeURIComponent(JSON.stringify(data)))),
/* // Without deprecated 'unescape':