Skip to content

Commit

Permalink
Fix variable in keypress that make test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Feb 5, 2017
1 parent a49992d commit 396618f
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-0.11.23.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: Sat, 04 Feb 2017 22:12:22 +0000
* Date: Sun, 05 Feb 2017 10:21:11 +0000
*/

/* TODO:
Expand Down Expand Up @@ -1854,7 +1854,7 @@
if (!reverse_search && $.isFunction(options.keypress)) {
result = options.keypress(e);
}
var key = event.key || String.fromCharCode(e.which);
var key = e.key || String.fromCharCode(e.which);
//$.terminal.active().echo(JSON.stringify(result));
if (result === undefined || result) {
if (enabled) {
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-0.11.23.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal-src.js
Expand Up @@ -1854,7 +1854,7 @@
if (!reverse_search && $.isFunction(options.keypress)) {
result = options.keypress(e);
}
var key = event.key || String.fromCharCode(e.which);
var key = e.key || String.fromCharCode(e.which);
//$.terminal.active().echo(JSON.stringify(result));
if (result === undefined || result) {
if (enabled) {
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: Sat, 04 Feb 2017 22:12:22 +0000
* Date: Sun, 05 Feb 2017 10:21:11 +0000
*/

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

Large diffs are not rendered by default.

0 comments on commit 396618f

Please sign in to comment.