Fix retrieving value from NativeString in plugin
Trying to get the value by 'this.get()' fails with 'get is not a function'. Change-Id: I9468383bb4b63bc0ede4cdb33a1695db2e6f68e9 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -25,7 +25,7 @@ public class NativeString extends JavaScriptObject {
|
||||
/*-{ return $wnd.Gerrit.JsonString }-*/;
|
||||
|
||||
public final native String asString()
|
||||
/*-{ return this.get(); }-*/;
|
||||
/*-{ return this; }-*/;
|
||||
|
||||
public static final
|
||||
AsyncCallback<NativeString> unwrap(final AsyncCallback<String> cb) {
|
||||
|
Reference in New Issue
Block a user