From e96d7de1f1eca9b0392765193f7573e4ad1afc35 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 30 Jan 2009 22:25:56 +0000 Subject: [PATCH] "\x7f" is not an unnecessary excapement. --- exec/syncjslint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/syncjslint.js b/exec/syncjslint.js index 7bbb40d030..24345453cd 100644 --- a/exec/syncjslint.js +++ b/exec/syncjslint.js @@ -1194,7 +1194,7 @@ JSLINT = function () { function esc(n) { var i = parseInt(s.substr(j + 1, n), 16); j += n; - if (i >= 32 && i <= 127 && + if (i >= 32 && i <= 126 && i !== 34 && i !== 92 && i !== 39) { warningAt("Unnecessary escapement.", line, character); } -- GitLab