Revert 恢复异常替换
This commit is contained in:
parent
9ad8ceb530
commit
12d8d58871
|
@ -341,7 +341,7 @@ ASALocalRun/
|
||||||
# MSBuild Binary and Structured Log
|
# MSBuild Binary and Structured Log
|
||||||
*.binlog
|
*.binlog
|
||||||
|
|
||||||
# NVidia Nsight GPU configuration file
|
# NVidia Nsight GPU debugger configuration file
|
||||||
*.nvuser
|
*.nvuser
|
||||||
|
|
||||||
# MFractors (Xamarin productivity tool) working folder
|
# MFractors (Xamarin productivity tool) working folder
|
||||||
|
|
|
@ -259,7 +259,7 @@ var JSHINT = (function () {
|
||||||
camelcase : true, // if identifiers should be required in camel case
|
camelcase : true, // if identifiers should be required in camel case
|
||||||
couch : true, // if CouchDB globals should be predefined
|
couch : true, // if CouchDB globals should be predefined
|
||||||
curly : true, // if curly braces around all blocks should be required
|
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,
|
devel : true, // if logging globals should be predefined (console,
|
||||||
// alert, etc.)
|
// alert, etc.)
|
||||||
dojo : true, // if Dojo Toolkit globals should be predefined
|
dojo : true, // if Dojo Toolkit globals should be predefined
|
||||||
|
@ -4140,9 +4140,9 @@ loop:
|
||||||
}
|
}
|
||||||
}).labelled = true;
|
}).labelled = true;
|
||||||
|
|
||||||
stmt("", function () {
|
stmt("debugger", function () {
|
||||||
if (!option.debug) {
|
if (!option.debug) {
|
||||||
warning("All '' statements should be removed.");
|
warning("All 'debugger' statements should be removed.");
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}).exps = true;
|
}).exps = true;
|
||||||
|
|
|
@ -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;
|
|
@ -117,7 +117,7 @@ var prettyPrint;
|
||||||
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
|
"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";
|
"throw,true,try,unless,until,when,while,yes";
|
||||||
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
|
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"];
|
"Infinity,NaN"];
|
||||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
|
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," +
|
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
|
||||||
|
|
Loading…
Reference in New Issue