mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
chore(cloudcmd) lint: no-paren
This commit is contained in:
parent
669f412869
commit
aaeb90372e
3 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ function show(position, panel) {
|
|||
current = refreshButton.parentElement;
|
||||
}
|
||||
|
||||
if (!parent || (parent && parent !== current))
|
||||
if (!parent || parent && parent !== current)
|
||||
current.appendChild(image);
|
||||
|
||||
DOM.show(image);
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ module.exports.put = (url, body) => {
|
|||
if (!event.lengthComputable)
|
||||
return;
|
||||
|
||||
const percent = (event.loaded / event.total) * 100;
|
||||
const percent = event.loaded / event.total * 100;
|
||||
const count = Math.round(percent);
|
||||
|
||||
emitter.emit('progress', count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue