Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Feb 7, 2017
1 parent 6bdc9d4 commit 4116b01
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions js/jquery.terminal-1.0.1.js
Expand Up @@ -31,7 +31,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Tue, 07 Feb 2017 22:17:31 +0000
* Date: Tue, 07 Feb 2017 22:52:47 +0000
*/

/* TODO:
Expand Down Expand Up @@ -1881,7 +1881,7 @@
result = options.keypress(e);
}
var key = e.key || String.fromCharCode(e.which);
if (key.toUpperCase() == 'SPACEBAR') {
if (key.toUpperCase() === 'SPACEBAR') {
key = ' ';
}
//$.terminal.active().echo(JSON.stringify(result));
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-1.0.1.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal-src.js
Expand Up @@ -1881,7 +1881,7 @@
result = options.keypress(e);
}
var key = e.key || String.fromCharCode(e.which);
if (key.toUpperCase() == 'SPACEBAR') {
if (key.toUpperCase() === 'SPACEBAR') {
key = ' ';
}
//$.terminal.active().echo(JSON.stringify(result));
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal.js
Expand Up @@ -31,7 +31,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Tue, 07 Feb 2017 22:17:31 +0000
* Date: Tue, 07 Feb 2017 22:52:47 +0000
*/

/* TODO:
Expand Down Expand Up @@ -1881,7 +1881,7 @@
result = options.keypress(e);
}
var key = e.key || String.fromCharCode(e.which);
if (key.toUpperCase() == 'SPACEBAR') {
if (key.toUpperCase() === 'SPACEBAR') {
key = ' ';
}
//$.terminal.active().echo(JSON.stringify(result));
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

0 comments on commit 4116b01

Please sign in to comment.