Does it attach comments automatically? Or do we have to call that before
traversing?


On Sat, Jul 27, 2013 at 6:10 PM, Yusuke Suzuki <notifications@github.com>wrote:

> In lib/eslint.js:
>
> > @@ -111,6 +112,10 @@ module.exports = (function() {
> >                  }
> >              });
> >
> > +            ast.comments.forEach(function(comment) {
> > +                api.emit(comment.type, comment);
> > +            });
>
> I've released estraverse version 1.3.0 with attachComments :)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nzakas/eslint/pull/139/files#r5438987>
> .
>



-- 

______________________________
Nicholas C. Zakas
@slicknet

Author, Professional JavaScript for Web Developers
Buy it at Amazon.com:
http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3