Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Harding committed Feb 9, 2014
1 parent e3834a5 commit 290fac4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/typeahead/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {};

Expand All @@ -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);
Expand Down

0 comments on commit 290fac4

Please sign in to comment.