我必須在GWT中開發Circuit Sandbox客戶端。 https://unpkg.com/circuit-sdk使用ES6,所以我不能使用GWT JSNI。 我試圖在https://circuit.github.io/jssdk.html上編寫'Teaser example to login and fetch conversations'。 我不得不說,我的JavaScript知識是初學者
我在@JsFunction部分試過了文檔https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit# 中的例子,但它只給出了從javascript調用java函數的方法。 我已經列入我用下面的代碼GWT應用程序的JavaScript文件: var client = new Circuit.
我有下面的類: @JsType
public class Options {
@JsProperty
public boolean extractUrlsWithoutProtocol;
public Options(boolean extractUrlsWithoutProtocol) {
this.extractUrlsWithoutProtoc