diff --git a/.gitignore b/.gitignore index d4a088d..9491a2f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/newyt/Jquery-ui/development-bundle/external/jshint.js b/newyt/Jquery-ui/development-bundle/external/jshint.js index d255fd5..8f06d9b 100644 --- a/newyt/Jquery-ui/development-bundle/external/jshint.js +++ b/newyt/Jquery-ui/development-bundle/external/jshint.js @@ -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; diff --git a/newyt/Jquery-ui/development-bundle/external/jshint.js.rej b/newyt/Jquery-ui/development-bundle/external/jshint.js.rej new file mode 100644 index 0000000..0e63ad7 --- /dev/null +++ b/newyt/Jquery-ui/development-bundle/external/jshint.js.rej @@ -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; diff --git a/newyt/Js/prettify.js b/newyt/Js/prettify.js index 270a73f..34b912a 100644 --- a/newyt/Js/prettify.js +++ b/newyt/Js/prettify.js @@ -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," +