JSMin and JavaScript Conditional Comments
In Robert Nyman's post Conditional Compilation in JavaScript he noted that “Unfortunately, JSMin removes conditional compilation comments, but I believe this is due to not having been updated in a while, and not up to speed with modern web development practices”. So I took that on as a project. I took Franck Marcia's javascript implementation of JS Minifier and modified the javascript code to not take out Microsoft javascript conditional comments.
Paste your javascript code in the code field, click the JSMin button and the minified code will appear in the output field. Copy the minified code, paste it in your favorite text editor and save.
JSMin Page and Downloads
Thursday, June 12th, 2008 07:00:00 AM in Web Development
1 Comments
Add a comment
- Comment Preview
Great work, Tanny!