first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

brandonjp's Recent SnippetsTagged log

« Prev 1 Next »
Regular Expression to find native Javascript console and AngularJS $log log warn or info that are NOT comments / commented out
1 959 posted 8 years ago by brandonjp
// create a variable to toggle debugging // to use it, just call debug(with,any,optional,parameters) debug(x,y,z); // it will try to guess what type of message to log, or you can specify in the first parameter debug("error",x,y,z);
1 946 posted 8 years ago by brandonjp
« Prev 1 Next »