Fix missing Number.isNaN in IE

See https://github.com/sourcelair/xterm.js/pull/525#issuecomment-278497452
This commit is contained in:
Vincent Woo
2017-02-08 15:33:20 -08:00
committed by GitHub
parent 8dd11f5587
commit c3256556aa
+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;
}