summaryrefslogtreecommitdiff
path: root/js/pomf.js
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-10-04 20:02:53 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-10-04 20:02:53 +0200
commit9bdedb32e61159a78fd9717fdaacf63405fe9e98 (patch)
treebc58a320f829c534f6808dfb6055b9979ea0aa9a /js/pomf.js
parenta2423dc2cb72ffe740599cc038e8c5a74ff2a848 (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/pomf.js')
-rw-r--r--js/pomf.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/pomf.js b/js/pomf.js
index 7d61160..a108c4b 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -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 || '');