Api for validating the syntax without rendering

This commit is contained in:
knsv
2015-01-25 13:06:25 +01:00
parent 6612b3e01e
commit d3d44ec806
6 changed files with 132 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ module.exports.detectType = function(text,a){
}
if(text.match(/^\s*digraph/)) {
console.log('Detected dot syntax');
//console.log('Detected dot syntax');
return "dotGraph";
}