From a3555262833ce59693425936bc7ff269f17790fc Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 30 Nov 2015 15:54:24 +0800 Subject: [PATCH] update files --- static/js/terminal/xterm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/terminal/xterm.js b/static/js/terminal/xterm.js index f4dc547..54cfa6c 100644 --- a/static/js/terminal/xterm.js +++ b/static/js/terminal/xterm.js @@ -699,9 +699,9 @@ TChar.prototype.getAttributes = function (){ TChar.prototype.setAttributes = function (attributes){ var attr = this.attr; - ['bold', 'italic', 'underline', 'blink', 'inverse', 'conceal'].map(function (el, i){ - if (attributes[el] !== undefined) { - attr = (attributes[el]) ? attr | (2 << (15 + i)) : attr & ~(2 << (15 + i)); + ['bold', 'italic', 'underline', 'blink', 'inverse', 'conceal'].map(function (key, i){ + if (attributes[key] !== undefined) { + attr = (attributes[key]) ? attr | (2 << (15 + i)) : attr & ~(2 << (15 + i)); } });