diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-04 16:40:47 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-04 16:40:47 +0200 |
| commit | 371cba4945b8cf1d5479d3a0a617b7d13420a664 (patch) | |
| tree | f819a42c19ce0feb5b0239a7e8f5bd9eb721cd14 /js/cheesesteak.js | |
| parent | 08dfe39b91ef17357bfc91734266b560b463aaff (diff) | |
| parent | 4df31fdd704663107cf2e187e6b55483a0edafd3 (diff) | |
Merge branch 'eslint-undef' into fix-eslint-warnings-2
Diffstat (limited to 'js/cheesesteak.js')
| -rw-r--r-- | js/cheesesteak.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/cheesesteak.js b/js/cheesesteak.js index 6e5a3ad..4809ca3 100644 --- a/js/cheesesteak.js +++ b/js/cheesesteak.js @@ -23,7 +23,7 @@ /* jshint browser:true, jquery:true */ (function() { // Lightweight EventEmitter implementation - EventEmitter = function() {}; + var EventEmitter = function() {}; EventEmitter.prototype.on = function(evt, fn) { this._events = this._events || {}; @@ -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 |
