Comments (5)
Currently it does not, but this is definitely planned. Thanks for pointing me to JsShaper by the way, I wasn't aware of it.
from treehugger.
Obviously, for a project like mine, which uses comments for code annotations, not having those comments stripped out is pretty important. And yes, I see a lot of parallels with your project and Olov's. Maybe you two should join up? :)
Michael Mathews
On Sunday, 15 May 2011 at 16:38, zefhemel wrote:
Currently it does not, but this is definitely planned. Thanks for pointing me to JsShaper by the way, I wasn't aware of it.
Reply to this email directly or view it on GitHub:
https://github.com/zefhemel/treehugger/issues/3#comment_1166308
from treehugger.
Any progress on the preserve-comments front?
from treehugger.
Yes, we now use the UglifyJS parser instead of narcissus, which does keep comments, this is, however, not yet exposed through the API. Need to add that. The comments are there though.
from treehugger.
excellent news!
from treehugger.
Related Issues (9)
- Wildcard pattern HOT 1
- Consider swapping UglifyJS parser to UglifyJs 2.0, or Esprima HOT 1
- something parse wrong. HOT 1
- New NPM release HOT 3
- Use ACE's narcissus HOT 1
- feature request: output loc or range information HOT 3
- Include function arguments in the demo as declared variables and update acorn HOT 1
- The "Not yet supported" message is crashing chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treehugger.