diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-28 21:18:49 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-28 21:18:49 +0200 |
| commit | 4df31fdd704663107cf2e187e6b55483a0edafd3 (patch) | |
| tree | 4346b4cde8ee4da3dd49d09a5de7f5d74cb05dc0 | |
| parent | 11e9d2d0e6d7266ff119fdab9947e879192bd75e (diff) | |
Add missing var declaration to EventEmitter
Previous commit 11e9d2d forgot to add the var declaration here.
Fixes ESLint no-undef warnings using Airbnb ES5 config.
| -rw-r--r-- | js/cheesesteak.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/cheesesteak.js b/js/cheesesteak.js index 1ee32b8..ea3b786 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 || {}; |
