extracted filelist into its own file
This commit is contained in:
parent
d69c535dda
commit
bed57af6c5
4 changed files with 235 additions and 224 deletions
|
@ -129,9 +129,15 @@ function percent(ratio) {
|
|||
: `${Math.floor(ratio * 100)}%`;
|
||||
}
|
||||
|
||||
function allowedCopy() {
|
||||
const support = !!document.queryCommandSupported;
|
||||
return support ? document.queryCommandSupported('copy') : false;
|
||||
}
|
||||
|
||||
const ONE_DAY_IN_MS = 86400000;
|
||||
|
||||
export {
|
||||
allowedCopy,
|
||||
bytes,
|
||||
percent,
|
||||
copyToClipboard,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue