remove references to window (not supported by node)
This commit is contained in:
parent
36595bd9d6
commit
bf71127511
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue