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 ...
This commit is contained in:
KLuka 2015-03-08 15:14:20 +01:00
parent 699132d536
commit 46ea812284

View file

@ -4036,7 +4036,7 @@ VT100.prototype.doControl = function(ch) {
/*H*/ case 0x48: /*H*/ case 0x48:
/*f*/ case 0x66: this.gotoXaY(this.par[1] - 1, this.par[0] - 1); break; /*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; /*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; /*i*/ case 0x69: this.csii(this.par[0]); break;
/*J*/ case 0x4A: this.csiJ(this.par[0]); break; /*J*/ case 0x4A: this.csiJ(this.par[0]); break;
/*K*/ case 0x4B: this.csiK(this.par[0]); break; /*K*/ case 0x4B: this.csiK(this.par[0]); break;
@ -4100,7 +4100,7 @@ VT100.prototype.doControl = function(ch) {
case ESpercent: case ESpercent:
this.isEsc = ESnormal; this.isEsc = ESnormal;
switch (ch) { switch (ch) {
/*@*/ case 0x40: this.utfEnabled = false; break; /*at*/case 0x40: this.utfEnabled = false; break;
/*G*/ case 0x47: /*G*/ case 0x47:
/*8*/ case 0x38: this.utfEnabled = true; break; /*8*/ case 0x38: this.utfEnabled = true; break;
default: break; default: break;