From 290fac4e88d8399ec9641e45ffdf6b828a21a253 Mon Sep 17 00:00:00 2001 From: Jake Harding Date: Thu, 6 Feb 2014 19:10:12 -0800 Subject: [PATCH] Remove unused variables. --- src/typeahead/dropdown.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/typeahead/dropdown.js b/src/typeahead/dropdown.js index 0797dc74..5f8e2d30 100644 --- a/src/typeahead/dropdown.js +++ b/src/typeahead/dropdown.js @@ -10,8 +10,8 @@ var Dropdown = (function() { // ----------- function Dropdown(o) { - var that = this, onMouseEnter, onMouseLeave, onSuggestionClick, - onSuggestionMouseEnter, onSuggestionMouseLeave; + var that = this, onSuggestionClick, onSuggestionMouseEnter, + onSuggestionMouseLeave; o = o || {}; @@ -25,8 +25,6 @@ var Dropdown = (function() { this.datasets = _.map(o.datasets, initializeDataset); // bound functions - onMouseEnter = _.bind(this._onMouseEnter, this); - onMouseLeave = _.bind(this._onMouseLeave, this); onSuggestionClick = _.bind(this._onSuggestionClick, this); onSuggestionMouseEnter = _.bind(this._onSuggestionMouseEnter, this); onSuggestionMouseLeave = _.bind(this._onSuggestionMouseLeave, this);