From c3256556aaaf0e7f4f26441a4e9f8dabdb4fa1b7 Mon Sep 17 00:00:00 2001 From: Vincent Woo Date: Wed, 8 Feb 2017 15:33:20 -0800 Subject: [PATCH] Fix missing Number.isNaN in IE See https://github.com/sourcelair/xterm.js/pull/525#issuecomment-278497452 --- src/xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.js b/src/xterm.js index b2740683..314a76d0 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -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; }