Strip slashes off the front of tooltips

master
Scott Lahteine 10 years ago
parent 69240d41b0
commit 0116320d2c

@ -642,9 +642,9 @@ var configuratorApp = (function(){
var r, s; var r, s;
findDef = new RegExp('(([ \\t]*(//|#)[^\n]+\n){1,4})([ \\t]*\n){0,1}' + info.line, 'g'); findDef = new RegExp('(([ \\t]*(//|#)[^\n]+\n){1,4})([ \\t]*\n){0,1}' + info.line, 'g');
if (r = findDef.exec(txt)) { if (r = findDef.exec(txt)) {
findDef = new RegExp('^[ \\t]*(//+[ \\t]*.*)[ \\t]*$', 'gm'); findDef = new RegExp('^[ \\t]*//+[ \\t]*(.*)[ \\t]*$', 'gm');
while((s = findDef.exec(r[1])) !== null) { while((s = findDef.exec(r[1])) !== null) {
if (s[1].match(/^\/\/[ \\t]*#define[ \\t]/) != null) { if (s[1].match(/^#define[ \\t]/) != null) {
comment = ''; comment = '';
break; break;
} }

Loading…
Cancel
Save