[jQuery] Re: What tool is used to minify the official jQuery distribution?
JSMin is the minifier that jQuery uses (the port to JavaScript by Franck Marcia). In SVN: http://dev.jquery.com/browser/trunk/jquery/build/js/jsmin.js On Feb 8, 11:17 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Collin, Thanks for the link, PHP Speedy looks interesting. I could potentially use it in a few hobby site scenarios, though I should state that this particular case involves ColdFusion as the server side scripting environment running on Windows with an IIS6 web server. These are far from ideal conditions IMO, but it's what I've got to work with! I've been using YUI Compressor to do some testing and it appears to strip trailing semicolons from .js files. Checking jQuery minified and various plugins minified, I found that there are in fact trailing semicolons in those scripts. They Yahoo minified scripts I'm using work fine when loaded on their own, but I've not yet tried to concatenate them all. I'll try that next to see the outcome. Anyone else have a line into the official minifier used for jQuery? Thanks, haylo On Feb 7, 3:36 pm, Collin Allen [EMAIL PROTECTED] wrote: This isn't the official tool (I'm not sure what is, maybe jsmin?), but you might find it helpful/inspiring: http://aciddrop.com/php-speedy/ On Feb 7, 12:44 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've been testing out various minifying strategies, such as Dean Edwards' packer, YUI Compressor, jsmin, etc. My goal is to concatenate all my required .js files and thenminifythem en masse. I've read of concerns about trailing semicolons, etc. and am curious what tool is used tominifythe official jQuery distribution. Please post if you have knowledge! Thanks, haylo
[jQuery] Re: What tool is used to minify the official jQuery distribution?
Collin, Thanks for the link, PHP Speedy looks interesting. I could potentially use it in a few hobby site scenarios, though I should state that this particular case involves ColdFusion as the server side scripting environment running on Windows with an IIS6 web server. These are far from ideal conditions IMO, but it's what I've got to work with! I've been using YUI Compressor to do some testing and it appears to strip trailing semicolons from .js files. Checking jQuery minified and various plugins minified, I found that there are in fact trailing semicolons in those scripts. They Yahoo minified scripts I'm using work fine when loaded on their own, but I've not yet tried to concatenate them all. I'll try that next to see the outcome. Anyone else have a line into the official minifier used for jQuery? Thanks, haylo On Feb 7, 3:36 pm, Collin Allen [EMAIL PROTECTED] wrote: This isn't the official tool (I'm not sure what is, maybe jsmin?), but you might find it helpful/inspiring: http://aciddrop.com/php-speedy/ On Feb 7, 12:44 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've been testing out various minifying strategies, such as Dean Edwards' packer, YUI Compressor, jsmin, etc. My goal is to concatenate all my required .js files and thenminifythem en masse. I've read of concerns about trailing semicolons, etc. and am curious what tool is used tominifythe official jQuery distribution. Please post if you have knowledge! Thanks, haylo
[jQuery] Re: What tool is used to minify the official jQuery distribution?
This isn't the official tool (I'm not sure what is, maybe jsmin?), but you might find it helpful/inspiring: http://aciddrop.com/php-speedy/ On Feb 7, 12:44 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've been testing out various minifying strategies, such as Dean Edwards' packer, YUI Compressor, jsmin, etc. My goal is to concatenate all my required .js files and then minify them en masse. I've read of concerns about trailing semicolons, etc. and am curious what tool is used to minify the official jQuery distribution. Please post if you have knowledge! Thanks, haylo