CeramicProject/newyt/Jquery-ui/development-bundle/external/jshint.js.rej

23 lines
1.1 KiB
Plaintext

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;