Yusuke Suzuki
Yusuke Suzuki
I agree, code format options are required. Do you have any ideas? One idea is ``` escodegen.generate(AST, { format: { options... } }); ``` style.
I would prefer object style too. Mixed style looks good. Scriptable style, something like callback function style, is future work.
Initially, I created format.indent section and move indent / base to it. https://github.com/Constellation/escodegen/issues/6 @millermedeiros > > YUICompressor test > > YUI Compressor Test system looks very good! So I'll created...
[Some formating options](https://github.com/Constellation/escodegen/wiki/API) are now available.
Ah right, agreed. I'll fix it, thanks!
@satazor: I've fixed it, thanks! 4e610a28fdfd0ec9f175a5f3f83189197e669cb5 c5129de8a89af0a9432327f38ae7725e2abd021f
@satazor: I'll publish it :) **edit**: publised as 0.0.14
@satazor Sorry for very late reply. Is it possible to paste some examples? Probably, it is easy to understand problem :) @millermedeiros, @michaelficarra Hm, structured data information (such as AST)...
Filed WebKit tracking issue in https://bugs.webkit.org/show_bug.cgi?id=221169
I think `0 ms` for all three inputs is reasonable since `TimeClip` is `trunc` https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-timeclip ``` new Date(0.500001).valueOf(); // 0 new Date(-0.484375).valueOf(); // 0 new Date(-0.984375).valueOf(); // 0 ```