Merge pull request #533 from vincentwoo/patch-2

Fix missing Number.isNaN in IE
This commit is contained in:
Paris Kasidiaris
2017-02-09 01:46:00 +02:00
committed by GitHub
+1 -1
View File
@@ -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;
}