Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
639a2fd509 | ||
|
|
b00083e0e5 | ||
|
|
c3256556aa |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xterm.js",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"ignore": ["demo", "test", ".gitignore"],
|
||||
"main": [
|
||||
"dist/xterm.js",
|
||||
|
||||
Vendored
+1
-1
@@ -3525,7 +3525,7 @@ Terminal.prototype.error = function () {
|
||||
this.context.console.error.apply(this.context.console, args);
|
||||
};
|
||||
Terminal.prototype.resize = function (x, y) {
|
||||
if (Number.isNaN(x) || Number.isNaN(y)) {
|
||||
if (isNaN(x) || isNaN(y)) {
|
||||
return;
|
||||
}
|
||||
var line, el, i, j, ch, addToY;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "xterm",
|
||||
"description": "Full xterm terminal, in your browser",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"ignore": [
|
||||
"demo",
|
||||
"test",
|
||||
|
||||
+1
-1
@@ -1715,7 +1715,7 @@ Terminal.prototype.error = function() {
|
||||
* @param {number} y The number of rows to resize to.
|
||||
*/
|
||||
Terminal.prototype.resize = function(x, y) {
|
||||
if (Number.isNaN(x) || Number.isNaN(y)) {
|
||||
if (isNaN(x) || isNaN(y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user