diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-04 20:02:53 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-04 20:02:53 +0200 |
| commit | 9bdedb32e61159a78fd9717fdaacf63405fe9e98 (patch) | |
| tree | bc58a320f829c534f6808dfb6055b9979ea0aa9a /js | |
| parent | a2423dc2cb72ffe740599cc038e8c5a74ff2a848 (diff) | |
Remove extra whitespace in variable declarations
This is something I would disagree with, because this commit in my
opinion reduces readability. I am not going to reinvent the wheel and
write for humans, because I enjoy being a slave to ESLint.
Any complaints about this commit should be directed at Airbnb to fix
their style guide. Alternatively, a documented standard style guide
should be created for pantsu.cat, extending the Airbnb config.
This fixes ESLint no-multi-spaces errors using airbnb/legacy config.
Diffstat (limited to 'js')
| -rw-r--r-- | js/pomf.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ /* jshint browser:true, jquery:true */ $(function() { var $uploadInput = $('#upload-input'); - var $uploadBtn = $('#upload-btn'); + var $uploadBtn = $('#upload-btn'); var $uploadFiles = $('#upload-filelist'); var $btnContent = ''; @@ -77,7 +77,7 @@ $(function() { var $rowName = $('<span class=file-name>'); var $rowProg = $('<div class="file-progress progress-outer">'); var $rowSize = $('<span class=file-size>'); - var $rowUrl = $('<span class=file-url>'); + var $rowUrl = $('<span class=file-url>'); $rowItem.addClass(extra || ''); |
