You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Returns the support of the given action, or all actions if no action is * given. * @param {String} [action] */staticisSupported(action=['copy','cut']){constactions=(typeofaction==='string') ? [action] : action;letsupport=!document.queryCommandSupported;// document.queryCommandSupported is a function, so support is always false ?actions.forEach((action)=>{support=support&&!document.queryCommandSupported(action);});returnsupport;}
Must be
/** * Returns the support of the given action, or all actions if no action is * given. * @param {String} [action] */staticisSupported(action=['copy','cut']){constactions=(typeofaction==='string') ? [action] : action;letsupport=!!document.queryCommandSupported;actions.forEach((action)=>{support=support&&!!document.queryCommandSupported(action);});returnsupport;}
The text was updated successfully, but these errors were encountered:
[email protected] This issue comes from the commit 83824fa
Must be
The text was updated successfully, but these errors were encountered: