diff --git a/lib/ace/tokenizer.js b/lib/ace/tokenizer.js index c5cdf964..e67f61f4 100644 --- a/lib/ace/tokenizer.js +++ b/lib/ace/tokenizer.js @@ -77,8 +77,6 @@ var Tokenizer = function(rules) { if (re.lastIndex == lastIndex) { throw new Error("tokenizer error"); } lastIndex = re.lastIndex; - window.LOG && console.log(currentState, match); - for ( var i = 0; i < state.length; i++) { if (match[i + 1]) { if (typeof state[i].token == "function") { @@ -118,8 +116,6 @@ var Tokenizer = function(rules) { tokens.push(token); } - window.LOG && console.log(tokens, currentState); - return { tokens : tokens, state : currentState