<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Client-side JavaScript using YUI Compressor in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244347#M197477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends what you're trying to achieve. If you're developing and want the browser to load the unminimised JavaScript, then set Share into debug mode by setting the client-debug flag to true (look in web-framework-config-application.xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your other option is to change the &amp;lt;@script&amp;gt; tag into a &amp;lt;script&amp;gt; tag during development, which won't swap to the -min.js version at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What we use here is the "incremental-slingshot-tomcat-exploded" ant target, which copies the JavaScript across and then minimises it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 09:50:45 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-12-02T09:50:45Z</dc:date>
    <item>
      <title>Client-side JavaScript using YUI Compressor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244344#M197474</link>
      <description>Alfresco share supports compressed .js file. So is there anyway, whatever changes we make for example, in abc.js that automatically gets reflected into compressed file(abc-min.js) without using YUI compressor from command line.</description>
      <pubDate>Tue, 01 Dec 2009 13:03:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244344#M197474</guid>
      <dc:creator>pqr</dc:creator>
      <dc:date>2009-12-01T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side JavaScript using YUI Compressor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244345#M197475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure your question makes sense - you want the -min.js version to be generated without the YUI Compressor? You can copy the uncompressed .js into -min.js (i.e. it doesn't have to be compressed) but that rather defeats the purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the ant targets "minimize-slingshot-javascript" and "minimize-slingshot-deployed-javascript"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 13:45:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244345#M197475</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-12-01T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side JavaScript using YUI Compressor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244346#M197476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"automatically gets reflected" - for that, I meant,some other file(may be makefile) that runs in background during deployment of webscript. so each time, we dont need to do it manually,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or the other thing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;component.head.inc - which puts .js to -min.js, if I dont include that file in the webScript, is it ok or it would defeats the purpose.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 04:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244346#M197476</guid>
      <dc:creator>pqr</dc:creator>
      <dc:date>2009-12-02T04:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Client-side JavaScript using YUI Compressor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244347#M197477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends what you're trying to achieve. If you're developing and want the browser to load the unminimised JavaScript, then set Share into debug mode by setting the client-debug flag to true (look in web-framework-config-application.xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your other option is to change the &amp;lt;@script&amp;gt; tag into a &amp;lt;script&amp;gt; tag during development, which won't swap to the -min.js version at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What we use here is the "incremental-slingshot-tomcat-exploded" ant target, which copies the JavaScript across and then minimises it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:50:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/client-side-javascript-using-yui-compressor/m-p/244347#M197477</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-12-02T09:50:45Z</dc:date>
    </item>
  </channel>
</rss>

