From 9bdedb32e61159a78fd9717fdaacf63405fe9e98 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Sun, 4 Oct 2015 18:02:53 +0000 Subject: 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. --- js/pomf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') 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 = $(''); var $rowProg = $('
'); var $rowSize = $(''); - var $rowUrl = $(''); + var $rowUrl = $(''); $rowItem.addClass(extra || ''); -- cgit v1.2.3