From 46ea81228482d7b25a23d00e5b134afee15b9302 Mon Sep 17 00:00:00 2001 From: KLuka Date: Sun, 8 Mar 2015 15:14:20 +0100 Subject: [PATCH] Removed at sign (@) from beggining of some JS comments Posts from issue #118 tells us that at signs in JavaScript comments could produce some troubles in IE browsers. This related to something called "contional compilation" in JS ... --- shellinabox/vt100.jspp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shellinabox/vt100.jspp b/shellinabox/vt100.jspp index cd6a90c..6cd98ca 100755 --- a/shellinabox/vt100.jspp +++ b/shellinabox/vt100.jspp @@ -4036,7 +4036,7 @@ VT100.prototype.doControl = function(ch) { /*H*/ case 0x48: /*f*/ case 0x66: this.gotoXaY(this.par[1] - 1, this.par[0] - 1); break; /*I*/ case 0x49: this.ht(this.par[0] ? this.par[0] : 1); break; -/*@*/ case 0x40: this.csiAt(this.par[0]); break; +/*at*/case 0x40: this.csiAt(this.par[0]); break; /*i*/ case 0x69: this.csii(this.par[0]); break; /*J*/ case 0x4A: this.csiJ(this.par[0]); break; /*K*/ case 0x4B: this.csiK(this.par[0]); break; @@ -4100,7 +4100,7 @@ VT100.prototype.doControl = function(ch) { case ESpercent: this.isEsc = ESnormal; switch (ch) { -/*@*/ case 0x40: this.utfEnabled = false; break; +/*at*/case 0x40: this.utfEnabled = false; break; /*G*/ case 0x47: /*8*/ case 0x38: this.utfEnabled = true; break; default: break;