Skip to content

Commit

Permalink
Minor formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgio committed Mar 14, 2016
1 parent 9a523bc commit af55104
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/TokenizerInput.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const TokenizerInput = React.createClass({
);
},

_handleKeydown: function(e) {
_handleKeydown(e) {
switch (e.keyCode) {
case keyCode.LEFT:
case keyCode.RIGHT:
Expand All @@ -103,7 +103,7 @@ const TokenizerInput = React.createClass({
this.props.onKeyDown && this.props.onKeyDown(e);
},

_handleInputFocus: function(e, e2, e3) {
_handleInputFocus(e) {
if (this.props.disabled) {
e.target.blur();
return;
Expand Down
6 changes: 3 additions & 3 deletions src/TypeaheadInput.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ const TypeaheadInput = React.createClass({
/**
* If the containing parent div is focused or clicked, focus the input.
*/
_handleInputFocus: function(e) {
_handleInputFocus(e) {
this.refs.input.focus();
},

_handleKeydown: function(e) {
_handleKeydown(e) {
const {filteredOptions, onAdd, onRemove, selected} = this.props;

switch (e.keyCode) {
Expand All @@ -122,7 +122,7 @@ const TypeaheadInput = React.createClass({
this.props.onKeyDown && this.props.onKeyDown(e);
},

handleClickOutside: function(e) {
handleClickOutside(e) {
// Force blur so that input is no longer the active element. For some
// reason, it's taking 2 clicks to fully blur the input otherwise.
this.refs.input.blur();
Expand Down

0 comments on commit af55104

Please sign in to comment.