From 11e9d2d0e6d7266ff119fdab9947e879192bd75e Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Mon, 28 Sep 2015 19:14:49 +0000 Subject: Add missing var declarations to undefined variables Fixes ESLint no-undef warnings using Airbnb ES5 config. --- js/cheesesteak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/cheesesteak.js') diff --git a/js/cheesesteak.js b/js/cheesesteak.js index ea3dc19..1ee32b8 100644 --- a/js/cheesesteak.js +++ b/js/cheesesteak.js @@ -160,7 +160,7 @@ xhr.upload.addEventListener('progress', function(e) { if (e.lengthComputable) { - size = e.loaded; + var size = e.loaded; /** * We know the size of the files, the order they're in, and how -- cgit v1.2.3