<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with JavaScript</title><link>http://forums.silverlight.net/forums/16.aspx</link><description>Discussions about programming Silverlight with JavaScript</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Standard multi-line Silverlight.js?  Recommend Javascript reformatter?</title><link>http://forums.silverlight.net/forums/thread/18088.aspx</link><pubDate>Sun, 21 Oct 2007 16:52:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:18088</guid><dc:creator>petemounce</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/18088.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=18088</wfw:commentRss><description>&lt;p&gt;Sorry, completely mis-read you!&lt;/p&gt;&lt;p&gt;Aptana is just now beginning to work on code-formatting, though I haven&amp;#39;t played with it much yet.&amp;nbsp; That&amp;#39;s what I use for all my web-development, except for the parts where CSharp is involved (where the hell is the hash key on a Mac US keyboard?!)&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Standard multi-line Silverlight.js?  Recommend Javascript reformatter?</title><link>http://forums.silverlight.net/forums/thread/18075.aspx</link><pubDate>Sun, 21 Oct 2007 03:46:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:18075</guid><dc:creator>Alan Cobb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/18075.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=18075</wfw:commentRss><description>&lt;p&gt;Hi Pete,&lt;/p&gt;
&lt;p&gt;Thanks for turning me on to those compressor/minifier programs.&lt;/p&gt;
&lt;p&gt;Actually, I wanted to go in the reverse direction to that.&amp;nbsp; That is, reformat the stock compressed 1-single-huge-line Silverlight.js into something debuggable.&amp;nbsp; I ended up using a free trial of the Polystyle code reformatter and some hand editing.&amp;nbsp; I wrote a &lt;a class="" title="Blog post - A more debuggable Silverlight.js" href="http://www.alancobb.com/blog/2007/10/21/AMoreDebuggableSilverlightjs.aspx"&gt;blog post&lt;/a&gt; about it and have my reformatted, more-debuggable Silverlight.js available for anyone else who wants to download it.&lt;/p&gt;
&lt;p&gt;Alan Cobb&lt;br /&gt;&lt;a href="http://www.alancobb.com/blog"&gt;www.alancobb.com/blog&lt;/a&gt;&amp;nbsp; (Silverlight&amp;nbsp;blog)&lt;br /&gt;&lt;br /&gt;-------------------------------&lt;br /&gt;Come see my&amp;nbsp;&lt;em&gt;Silverlight Debugging&lt;/em&gt; presentation at:&lt;br /&gt;&lt;a href="http://www.siliconvalley-codecamp.com/Sessions.aspx?ForceSortBySessionTime=true&amp;amp;id=153"&gt;Silicon Valley Code Camp Oct 27/28&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Standard multi-line Silverlight.js?  Recommend Javascript reformatter?</title><link>http://forums.silverlight.net/forums/thread/17433.aspx</link><pubDate>Sun, 14 Oct 2007 19:17:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:17433</guid><dc:creator>petemounce</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/17433.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=17433</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve successfully used Dean Edwards&amp;#39; Packer (but it makes me add ; where they&amp;#39;re strictly-speaking unnecessary), and, more recently, Julian Lecompte&amp;#39;s YUI Compressor (which, like Dojo ShrinkSafe, is based on Mozilla&amp;#39;s JavaScript parser, I gather).&amp;nbsp;&lt;/p&gt;</description></item><item><title>Standard multi-line Silverlight.js?  Recommend Javascript reformatter?</title><link>http://forums.silverlight.net/forums/thread/17430.aspx</link><pubDate>Sun, 14 Oct 2007 18:08:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:17430</guid><dc:creator>Alan Cobb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/17430.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=17430</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The normal 8KB Silverlight.js is formatted as one long line, presumably for faster downloading.&amp;nbsp; But it is hard to read and single-step through with a debugger.&amp;nbsp; There was a more readable 370-line, 14KB version in the 2007-07 SDK.&amp;nbsp; Is there an official multi-line version of the latest Silverlight.js somewhere?&lt;/p&gt;
&lt;p&gt;I realize you aren&amp;#39;t supposed to modify the functionality, but for temporary reading and single stepping a conventional file is nice.&lt;/p&gt;
&lt;p&gt;This brings up the general issue of code reformatters / beautifiers.&amp;nbsp; Anyone have a favorite for Javascript to recommend?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Alan Cobb&lt;br /&gt;&lt;a href="http://www.alancobb.com/"&gt;www.alancobb.com&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>