extracted filelist into its own file

This commit is contained in:
Danny Coates 2017-08-10 19:01:39 -07:00
parent d69c535dda
commit bed57af6c5
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 235 additions and 224 deletions

View file

@ -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,