I think you either have to create a custom JS function that does the 
default value thing so you can call that function using JsInterop or you 
need to return Double (so the method can return null if devicePixelRatio is 
not available) and do the default value thing in Java using an additional 
method, e.g. devicePixelRatioOrDefault() which then returns a primitive 
double.

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to