<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 29, 2013 at 12:08 PM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div> Talking with qmx and lholmquist about this it seems that JS land doesn&#39;t have good tools for this. </div>

</div></blockquote><div><br></div><div><br></div><div>hrm - the grunt worked for me; but I don&#39;t know if it is _that_ good</div></div></div></div></blockquote><div><br></div></div><div>The formatter that is available with grunt seems to have very little settings [1], but if that is fine for most of us by all means we should use it!</div>
<div><br></div><div>[1] <a href="https://npmjs.org/package/grunt-jsbeautifier" target="_blank">https://npmjs.org/package/grunt-jsbeautifier</a></div></div></div></blockquote><div><br></div><div>perhaps here we could help/improve ? </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="im"><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>To have something in the mean time we could use something like the eclipse formatter, because it can format JS has a ton of options and there are already a lot of external tools that use it:</div>

<div><br></div><div><a href="https://github.com/krasa/EclipseCodeFormatter" target="_blank">https://github.com/krasa/EclipseCodeFormatter</a></div></div></blockquote><div><br></div><div>I doubt that a JS weenie will use Eclipse/IDEA</div>
</div></div></div></blockquote><div><br></div></div><div>It&#39;s meant as an example you don&#39;t need the full eclipse IDE to use the formatting tool. It can be used standalone and it has a ton of options about where to put whitespace. We could also build our own javascript code formatter, but why not have something that works today. And I think even a javascript coder can execute a command line utility.</div>
<div><br></div><div>Just trying to be pragmatic </div><br></div><br></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>