<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 6:17 AM, tolis emmanouilidis <span dir="ltr">&lt;<a href="mailto:tolisemm@gmail.com" target="_blank">tolisemm@gmail.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 dir="ltr">+1 on ES6 features &amp; Babel JS<div><div><br></div><div>Do you plan to use ES6 promises or replacing the existing HTTP,HTTPS requests with something like <a href="https://www.npmjs.com/package/request-promise" target="_blank">https://www.npmjs.com/package/request-promise</a> ?</div></div></div></blockquote><div><br></div><div>i think the plan was to use Native promises.  while bluebird (which is what is the underlying promise implementation for that request-promise module) is a solid library, i&#39;d like to stick to the spec. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>I&#39;d also like to see an AeroGear Sender &quot;class&quot; inside module by using ES6 class.</div></div></div></blockquote><div><br></div><div>baby steps :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Thanks,</div><div>Tolis   </div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-01-29 20:10 GMT+02:00 Luke Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">hello,<div><br></div><div>I just created a JIRA for the node ups sender, <a href="https://issues.jboss.org/browse/AGJS-308" target="_blank">https://issues.jboss.org/browse/AGJS-308</a>, that tracks the addition of using ES6(the next version of Javascript).</div><div><br></div><div>My thoughts were to use the new features where ever possible.</div><div><br></div><div>Since not every feature is available on all versions of node, we would use Babel.js <a href="https://babeljs.io/" target="_blank">https://babeljs.io/</a> , to transpile that code back to ES5(the version before es6 :)). </div><div><br></div><div>This transpilation would happen during an &quot;npm publish&quot; so users would never really see a difference.  </div><div><br></div><div>The cool thing about Babel is that we can specify which features we want transpiled,  so in the future this list of transpiled features would hopefully get smaller and smaller.</div><div><br></div><div>The latest versions of node have a lot of new features in them, so it would be nice to start coding that way.  For instance, this plugin, <a href="https://www.npmjs.com/package/babel-preset-node5" target="_blank">https://www.npmjs.com/package/babel-preset-node5</a>  , is a preset for the features that node 5 has.  </div><div><br></div><div><br></div><div>wanted to get some thoughts on this.</div><span><font color="#888888"><div><br></div><div>-Luke</div></font></span></div>
<br></div></div>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></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" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>