Skip to content

Commit

Permalink
Removed root node visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Sep 24, 2010
1 parent 34cbfc9 commit 5a21a87
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/compiler.js
Expand Up @@ -101,17 +101,6 @@ Compiler.prototype = {
return this['visit' + node.constructor.name](node);
},

/**
* Visit `root`, visit it's block.
*
* @param {Root} root
* @api public
*/

visitRoot: function(root){
this.visit(root.block);
},

/**
* Visit all nodes in `block`.
*
Expand Down

0 comments on commit 5a21a87

Please sign in to comment.