Timothy Gu

Results 227 comments of Timothy Gu

EJS was designed to be barebones, without the bells and whistles. That gives it its performance, but yes, it does mean that features like indentation have to go. Think of...

@SBoudrias said: > FWIW, the reason was keeping compatibility with underscore templates. Hmm. https://github.com/mde/ejs/issues/55#issuecomment-72275752. > Also, I don't agree ejs doesn't care about indentation (also for performance reason is total...

I'm not sure about EJS/HTML to HTML sourcemap, but I do think EJS to compiled JS sourcemap could be helpful. We would be able to delete the rethrow functions, in...

No I definitely agree that it doesn't _need_ to be rewritten, but if we have sourcemap support bridging with other sourcemap-aware tooling like Webpack could be easier, _in addition_ to...

> Are you thinking GH pages, or an actual site? Either one is fine. My hope is that there is a nice page with all the things about EJS (v2)...

Even more confusing: https://www.npmjs.com/package/ejs2

@mde simontabor/ejs2#2 Back to the original topic of documentation. I can add some JSDoc inline docs and maybe move the documentation in README to a GH pages. I'll submit a...

@mde oh wow, thanks

Syntax documentation done in #29. API documentation in JSDoc form done in #45.