summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-09-28 21:18:49 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-09-28 21:18:49 +0200
commit4df31fdd704663107cf2e187e6b55483a0edafd3 (patch)
tree4346b4cde8ee4da3dd49d09a5de7f5d74cb05dc0 /js
parent11e9d2d0e6d7266ff119fdab9947e879192bd75e (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.
Diffstat (limited to 'js')
-rw-r--r--js/cheesesteak.js2
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 || {};