Hi all,
when i upgrade GWT from 2.7.0-SNAPSHOT to 2.7.0, the code below is not
working:
obj instanceof CollaborativeObjectImpl and
obj instanceof JsonObject
Here are my type declarations:
@JsType interface EventTarget
@JsType interface CollaborativeObject extends EventTarget
@JsType interface
Hi all,
I'd like to share an open-source project which implements nearly all
features of the google drive realtime api. *Google Drive Realtime API*
https://developers.google.com/drive/realtime/ provides Google Docs–style
instant collaboration. It lets multiple people edit the same data
Hi,
When i translate a pure java library to a javascript library using
JsInterop, i get confused about @JsProperty and JsType.prototype().
The java code looks like this:
@JsType
@JsNamespace($wnd.realtime.store)
public class TextInsertedEvent {
/**
* The index of the change.
*/
Hello,
The newest @JsType feature is really very fascinating, and works in most
cases. The only issue i found was the wrong null.nullField javascript
output.
the compile command:
java -cp xxx com.google.gwt.dev.Compiler -war xxx -XnoclassMetadata
-XnocheckCasts -XjsInteropMode JS
);
-Daniel
On Mon, Jun 30, 2014 at 8:09 AM, 田传武 i...@goodow.com javascript:
wrote:
I'm sure this is an optimizer bug.
null.nullField causes the following error at runtime:
SEVERE: (TypeError) : Cannot read property 'nullField
(0);
-Daniel
On Mon, Jun 30, 2014 at 8:09 AM, 田传武 i...@goodow.com javascript:
wrote:
I'm sure this is an optimizer bug.
null.nullField causes the following error at runtime:
SEVERE: (TypeError) : Cannot read property 'nullField' of nullcom.google.
gwt.core.client.JavaScriptException
using it until then.
On Fri, Jun 6, 2014 at 1:24 AM, 田传武 i...@goodow.com javascript: wrote:
Hello,
I tried converted two projects we are currently using GWT Exporter to
@JsInterface for interoperate with JS. The *first project*
https://github.com/goodow/realtime-channel/commit
Hello,
I tried converted two projects we are currently using GWT Exporter to
@JsInterface for interoperate with JS. The *first project*
https://github.com/goodow/realtime-channel/commit/e809e7cf9ee81fb4f470336212abfe113550ac8d
only
exports three interfaces, and translated successfully.
The