The beta version of Elemental2 using the JsInterop specification has been released on Sonatype today and is available on Maven central.
This release introduces the concept of union types (which are heavily used in JavaScript) and many more improvements. More information about union types can be found in this document.
We also split Elemental into smaller jar files:
Jar file | artifact-id | GWT module |
elemental2-core | elemental2.core.Core | |
elemental2-promise | elemental2.promise.Promise | |
elemental2-dom | elemental2.dom.Dom | |
elemental2-svg | elemental2.svg.Svg | |
elemental2-webgl | elemental2.webgl.WebGl | |
elemental2-media | elemental2.media.Media | |
elemental2-indexeddb | elemental2.indexeddb.IndexedDb | |
elemental2-webstorage | elemental2.webstorage.WebStorage |
You can try them by downloading the jar files or adding Maven dependencies:
<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>${artifact-id}</artifactId>
<version>1.0.0-beta-1</version>
</dependency>
Then inherit the right gwt module in your gwt.xml file.
This beta version works only with the latest HEAD_SNAPSHOT release of GWT.
We’ve also released a beta version of JsInterop.base. This library contains base classes and utilities that provide access to JavaScript language constructs that are not available in pure Java.
You can try it by downloading the jar file or use the following Maven dependency:
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
<version>1.0.0-beta-1</version>
</dependency>
Don’t hesitate to report any bugs, issues, concerns you have on this mailing list.
Important note: They are beta releases and future updates (up until the final release) may break code!
-Julien
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABXeq2QsTarhDKbYmz0y1SOrjpuFNdoNmAnvAYKacO1f4rLcLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/1ce76a70-bb1d-42a6-adc4-8bc31526644d%40googlegroups.com.
Great news ! Thanks Julien.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/fd8651a8-84fa-4d5d-a7b7-0c31494a21a0%40googlegroups.com.
The beta version of Elemental2 using the JsInterop specification has been released on Sonatype today and is available on Maven central.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABXeq2QsTarhDKbYmz0y1SOrjpuFNdoNmAnvAYKacO1f4rLcLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABXeq2QsTarhDKbYmz0y1SOrjpuFNdoNmAnvAYKacO1f4rLcLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAOkdovKQn1wo%2BR2jrZ3iGrh4ko199_bt6%3DUC-Xd_HYUc%2B65-Yw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d460f0fb-6519-4eab-869b-4838e51077ad%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
Hi, a question about JsPropertyMap.It does not have a keys() method, ideally using Object.keys, this is on purpose?And, the unique method to obtain the keys is the forEach method, but current implementation iterates over all properties wich might be dangerous, why this method do not use Object.keys or isOwnProperty?Thanks!
On Friday, April 7, 2017 at 1:57:44 AM UTC+2, Roberto Lublinerman wrote:
We relaxed restriction checking to allow void return type from getters.Cl is up for review:
On Thu, Apr 6, 2017 at 3:17 PM, Jens <jens.ne...@gmail.com> wrote:
Hmm, I have just built gwt head from source and used the above jars but SDM tells me:Errors in jsinterop/base/Js.java[ERROR] Line 56: JsProperty 'void Js.debugger()' should have a correct setter or getter signature.Can anyone confirm?-- J.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d460f0fb-6519-4eab-869b-4838e51077ad%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/7aae33f9-32af-4c40-9c15-81860a109fa6%40googlegroups.com.
Elemental also includes high-performance collections and a new JSON library. These libraries work equally well in a browser or in a server (JVM) environment.
jsinterop.base doesn't try to replace elemental, just provide methods that would normally require special syntax in js. You can find Object.keys in the related elemental class (JsObject)
On Thu, Apr 13, 2017 at 1:42 PM, Ignacio Baca Moreno-Torres <ign...@bacamt.com> wrote:
Hi, a question about JsPropertyMap.It does not have a keys() method, ideally using Object.keys, this is on purpose?And, the unique method to obtain the keys is the forEach method, but current implementation iterates over all properties wich might be dangerous, why this method do not use Object.keys or isOwnProperty?Thanks!
On Friday, April 7, 2017 at 1:57:44 AM UTC+2, Roberto Lublinerman wrote:
We relaxed restriction checking to allow void return type from getters.Cl is up for review:
On Thu, Apr 6, 2017 at 3:17 PM, Jens <jens.ne...@gmail.com> wrote:
Hmm, I have just built gwt head from source and used the above jars but SDM tells me:Errors in jsinterop/base/Js.java[ERROR] Line 56: JsProperty 'void Js.debugger()' should have a correct setter or getter signature.Can anyone confirm?-- J.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d460f0fb-6519-4eab-869b-4838e51077ad%40googlegroups.com.
Is this still true for elemetal2? I use JsInterop to define DTOs, they area easy and clean, but collections are still a small problem, if elemental solve this will be awesome, but not sure if this is going to be true. New union types can be influenced to be used easily in the JVM too if this is true (I mean, that elemental2 should take care of collections in the browser and the server).
HI, what are the replacements for elemental2.Global.window and similar in this new release?
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/e1331a22-74f7-4648-b76b-0a2fb43a2dfc%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/e1331a22-74f7-4648-b76b-0a2fb43a2dfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D52vj1gbcf_MPq5UiThib3y0w4nDQHs0Bu8Sb6Ubg5Tyw%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.