Revert 恢复异常替换

This commit is contained in:
Ling 2024-05-20 17:46:18 +08:00
parent 9ad8ceb530
commit 12d8d58871
4 changed files with 27 additions and 5 deletions

2
.gitignore vendored
View File

@ -341,7 +341,7 @@ ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU configuration file
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder

View File

@ -259,7 +259,7 @@ var JSHINT = (function () {
camelcase : true, // if identifiers should be required in camel case
couch : true, // if CouchDB globals should be predefined
curly : true, // if curly braces around all blocks should be required
debug : true, // if statements should be allowed
debug : true, // if debugger statements should be allowed
devel : true, // if logging globals should be predefined (console,
// alert, etc.)
dojo : true, // if Dojo Toolkit globals should be predefined
@ -4140,9 +4140,9 @@ loop:
}
}).labelled = true;
stmt("", function () {
stmt("debugger", function () {
if (!option.debug) {
warning("All '' statements should be removed.");
warning("All 'debugger' statements should be removed.");
}
return this;
}).exps = true;

View File

@ -0,0 +1,22 @@
diff a/newyt/Jquery-ui/development-bundle/external/jshint.js b/newyt/Jquery-ui/development-bundle/external/jshint.js (rejected hunks)
@@ -259,7 +259,7 @@
camelcase : true, // if identifiers should be required in camel case
couch : true, // if CouchDB globals should be predefined
curly : true, // if curly braces around all blocks should be required
- debug : true, // if debugger statements should be allowed
+ debug : true, // if statements should be allowed
devel : true, // if logging globals should be predefined (console,
// alert, etc.)
dojo : true, // if Dojo Toolkit globals should be predefined
@@ -4140,9 +4140,9 @@
}
}).labelled = true;
- stmt("debugger", function () {
+ stmt("", function () {
if (!option.debug) {
- warning("All 'debugger' statements should be removed.");
+ warning("All '' statements should be removed.");
}
return this;
}).exps = true;

View File

@ -117,7 +117,7 @@ var prettyPrint;
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
"throw,true,try,unless,until,when,while,yes";
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
",eval,export,function,get,null,set,undefined,var,with," +
"debugger,eval,export,function,get,null,set,undefined,var,with," +
"Infinity,NaN"];
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +