Skip to content

Commit

Permalink
Fixed string template literals in debug statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin L. Dodson committed Mar 8, 2018
1 parent 6b1bd6f commit e598fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RIEStatefulBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ export default class RIEStatefulBase extends RIEBase {
};

keyDown = (event) => {
debug('keyDown(${event.keyCode})')
debug(`keyDown(${event.keyCode})`)
if(event.keyCode === 13) { this.finishEditing() } // Enter
else if (event.keyCode === 27) { this.cancelEditing() } // Escape
};

textChanged = (event) => {
debug('textChanged(${event.target.value})')
debug(`textChanged(${event.target.value})`)
this.doValidations(event.target.value.trim());
};

Expand Down

0 comments on commit e598fe9

Please sign in to comment.