<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: YUI Compressor Version 2.2.1 Now Available</title>
	<atom:link href="http://www.julienlecomte.net/blog/2007/09/24/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julienlecomte.net/blog/2007/09/24/</link>
	<description>Web Development, Operating System Programming and Amateur Astronomy</description>
	<lastBuildDate>Sat, 10 Jul 2010 05:57:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TomaP</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-2773</link>
		<dc:creator>TomaP</dc:creator>
		<pubDate>Thu, 10 Jan 2008 10:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-2773</guid>
		<description>I am using YUIC, and it&#039;s working fine.
I am wondering if it could replace 

var a = new Array()
with 
var a = [] 

as suggested by JSLint

Thanks,

Thomas P</description>
		<content:encoded><![CDATA[<p>I am using YUIC, and it&#8217;s working fine.<br />
I am wondering if it could replace </p>
<p>var a = new Array()<br />
with<br />
var a = [] </p>
<p>as suggested by JSLint</p>
<p>Thanks,</p>
<p>Thomas P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit Michaud</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-702</link>
		<dc:creator>Benoit Michaud</dc:creator>
		<pubDate>Wed, 28 Nov 2007 11:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-702</guid>
		<description>Hi,
Would it be possible to add 1 more option? I&#039;m thinking about some kind of automatic naming of the output.
the standard one is: -o filename.ext
I&#039;d love to find: -oo filename-min.ext or anything like that.
It would help a lot to set some automatic tasks in windows registry, or any IDE...
Thanks anyway for your work
Ben</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Would it be possible to add 1 more option? I&#8217;m thinking about some kind of automatic naming of the output.<br />
the standard one is: -o filename.ext<br />
I&#8217;d love to find: -oo filename-min.ext or anything like that.<br />
It would help a lot to set some automatic tasks in windows registry, or any IDE&#8230;<br />
Thanks anyway for your work<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cezary Okupski</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-642</link>
		<dc:creator>Cezary Okupski</dc:creator>
		<pubDate>Sun, 18 Nov 2007 11:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-642</guid>
		<description>WebKit (Safari 3) introduces some support for media queries. For example this works:
@media all and (min-width:0){html{color:red}}
while omitting the space after &quot;and&quot; like that:
@media all and(min-width:0){html{color:red}}
doesn&#039;t.
YUICompressor removes it. I wonder if you consider this as a bug only for the WebKit developers or something to adjust YUICompressor to.</description>
		<content:encoded><![CDATA[<p>WebKit (Safari 3) introduces some support for media queries. For example this works:<br />
@media all and (min-width:0){html{color:red}}<br />
while omitting the space after &#8220;and&#8221; like that:<br />
@media all and(min-width:0){html{color:red}}<br />
doesn&#8217;t.<br />
YUICompressor removes it. I wonder if you consider this as a bug only for the WebKit developers or something to adjust YUICompressor to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-562</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Mon, 22 Oct 2007 20:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-562</guid>
		<description>@Jesse 
I&#039;m seeing the same problem, where \r and \n are being interpreted out and giving me a line break.  Any insight as to what specifically was causing this?  I&#039;m seeing this on the 2.2.4 build.</description>
		<content:encoded><![CDATA[<p>@Jesse<br />
I&#8217;m seeing the same problem, where \r and \n are being interpreted out and giving me a line break.  Any insight as to what specifically was causing this?  I&#8217;m seeing this on the 2.2.4 build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cezary Okupski</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-539</link>
		<dc:creator>Cezary Okupski</dc:creator>
		<pubDate>Sat, 13 Oct 2007 13:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-539</guid>
		<description>Sorry for an informal way of submitting a feature request - is there a bug track for the compressor? I haven&#039;t found an appropriate category on Sourceforge YUI project. Would it possible to shorten &quot;true&quot; to &quot;!0&quot; and &quot;false&quot; to &quot;!1&quot; (without quotes)? It works in all browsers that I&#039;ve got, but you probably test against more.</description>
		<content:encoded><![CDATA[<p>Sorry for an informal way of submitting a feature request &#8211; is there a bug track for the compressor? I haven&#8217;t found an appropriate category on Sourceforge YUI project. Would it possible to shorten &#8220;true&#8221; to &#8220;!0&#8243; and &#8220;false&#8221; to &#8220;!1&#8243; (without quotes)? It works in all browsers that I&#8217;ve got, but you probably test against more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien Lecomte</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-536</link>
		<dc:creator>Julien Lecomte</dc:creator>
		<pubDate>Fri, 12 Oct 2007 15:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-536</guid>
		<description>@Stefan

This is why the option &lt;code&gt;--preserve-strings&lt;/code&gt; (which makes the compressor leave string literals intact) was introduced in version 2.2.3.</description>
		<content:encoded><![CDATA[<p>@Stefan</p>
<p>This is why the option <code>--preserve-strings</code> (which makes the compressor leave string literals intact) was introduced in version 2.2.3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Kudwien</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-535</link>
		<dc:creator>Stefan Kudwien</dc:creator>
		<pubDate>Fri, 12 Oct 2007 03:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-535</guid>
		<description>Hm, I am wondering if it this change:

+ Remove line terminator after escape in string literals.

in the latest 2.2.5 release should be changed to inserting a escaped newline character, instead of just removing the newline. Because right now you&#039;re changing the behavior of a script (shortening string literals - what if a script checks for a specific string length?), that&#039;s IMO something a compressor should never do.</description>
		<content:encoded><![CDATA[<p>Hm, I am wondering if it this change:</p>
<p>+ Remove line terminator after escape in string literals.</p>
<p>in the latest 2.2.5 release should be changed to inserting a escaped newline character, instead of just removing the newline. Because right now you&#8217;re changing the behavior of a script (shortening string literals &#8211; what if a script checks for a specific string length?), that&#8217;s IMO something a compressor should never do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Dowell</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-475</link>
		<dc:creator>Jesse Dowell</dc:creator>
		<pubDate>Fri, 05 Oct 2007 04:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-475</guid>
		<description>It was something on my classpath that was causing the problem. I changed my ant task around a bit and it works flawlessly now. Sorry about the bogus report.</description>
		<content:encoded><![CDATA[<p>It was something on my classpath that was causing the problem. I changed my ant task around a bit and it works flawlessly now. Sorry about the bogus report.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Dowell</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-469</link>
		<dc:creator>Jesse Dowell</dc:creator>
		<pubDate>Thu, 04 Oct 2007 23:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-469</guid>
		<description>Sorry, I did some further testing and discovered that it&#039;s somehow related to my environment. I did some experimenting and found that 2.2.4 works perfectly for me if I run it from the command line &#039;java -jar yuixxxxx&#039;. If I run it as an ant task, however, this input &#039;(?:)((\n&#124;\r&#124;.)*?)(?:)&#039; results in a line break in the generated file. It&#039;s very odd that the 2.1 version does work for me from the ant script.

		
			
			
			
			
			
			
		</description>
		<content:encoded><![CDATA[<p>Sorry, I did some further testing and discovered that it&#8217;s somehow related to my environment. I did some experimenting and found that 2.2.4 works perfectly for me if I run it from the command line &#8216;java -jar yuixxxxx&#8217;. If I run it as an ant task, however, this input &#8216;(?:)((\n|\r|.)*?)(?:)&#8217; results in a line break in the generated file. It&#8217;s very odd that the 2.1 version does work for me from the ant script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien Lecomte</title>
		<link>http://www.julienlecomte.net/blog/2007/09/24/comment-page-1/#comment-466</link>
		<dc:creator>Julien Lecomte</dc:creator>
		<pubDate>Thu, 04 Oct 2007 21:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.julienlecomte.net/blog/2007/09/25/yui-compressor-version-221-now-available/#comment-466</guid>
		<description>@Jesse

With version 2.2.4, the following:

var s = &quot;xxx\nyyy&quot;;

is compressed to:

var s=&quot;xxx\nyyy&quot;

I don&#039;t see any problem with line-breaks. With version of Java are you using? Are you redirecting the standard output, or are you using the -o option?

Thanks</description>
		<content:encoded><![CDATA[<p>@Jesse</p>
<p>With version 2.2.4, the following:</p>
<p>var s = &#8220;xxx\nyyy&#8221;;</p>
<p>is compressed to:</p>
<p>var s=&#8221;xxx\nyyy&#8221;</p>
<p>I don&#8217;t see any problem with line-breaks. With version of Java are you using? Are you redirecting the standard output, or are you using the -o option?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
