I am working on migrating a large GWT applic开发者_开发百科ation from gwt-ext to native GWT v2.4. In gwt-ext there is a class called JavaScriptObjectHelper. Is there a corresponding class in the native gwt libraries?
Some methods from JavaScriptObjectHelper
are available elsewhere: JavaScriptObject.createObject()
and createArray()
, JsArray
and friends, Element
's methods (getProperty
, getAttribute
, etc.), and of course Boolean.valueOf()
and similar methods on Integer
, Float
, Date
, etc.
A few other methods have no equivalent though: apply
, arrayConvert
, convertMapToJavaScriptArray
, etc.
精彩评论