diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-11-18 12:54:42 +0100 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-11-18 12:54:42 +0100 |
| commit | f413dc9a1b944fd653c3bc089516c3363fb57857 (patch) | |
| tree | ded5b34a866b3acacd09108ee76a192b0d503df5 /js/cheesesteak.js | |
| parent | 251b4d789d13e39436937e98500c5c5e2ab4d427 (diff) | |
Remove unused JavaScript variables (no-unused-vars)
Quoting ESLint:
> Variables that are declared and not used anywhere in the code are most
> likely an error due to incomplete refactoring. Such variables take up
> space in the code and can lead to confusion by readers.
This commit removes them. Fixes ESLint no-unused-vars errors using
airbnb/legacy config.
Suggested-by: marc <mharnos@gmail.com>
Diffstat (limited to 'js/cheesesteak.js')
| -rw-r--r-- | js/cheesesteak.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/cheesesteak.js b/js/cheesesteak.js index ba65e48..905c5f3 100644 --- a/js/cheesesteak.js +++ b/js/cheesesteak.js @@ -160,7 +160,7 @@ xhr.open(opts.method, this.url, true); - function initProgressBar(evt) { + function initProgressBar() { for (i = 0; i < len; i++) { files[i].uploadedSize = 0; } |
