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 <
[email protected]> 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:
>> https://gwt-review.googlesource.com/#/c/18020/
>>
>>
>>
>> On Thu, Apr 6, 2017 at 3:17 PM, Jens <[email protected]> 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 [email protected]
>>> .
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/google-web-toolkit-contributors/d460f0fb-6519-4eab-869b-
>>> 4838e51077ad%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/d460f0fb-6519-4eab-869b-4838e51077ad%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> 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 [email protected].
> 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
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/7aae33f9-32af-4c40-9c15-81860a109fa6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3vLMGtC6nogMtNGtQX2gv_juQoe0wgMs4aMK908s48WA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to