Skip to content

Commit 1f95adb

Browse files
committed
Replaced with correct JsInterop flag
1 parent 049d4a5 commit 1f95adb

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,14 @@ section:
7171
</dependency>
7272
```
7373

74-
GeneViewer uses [GWT 2.7's][3] new [JSInterop feature][4] and thus it has to be enabled in the GWT compiler args.
74+
GeneViewer uses [GWT 2.8's][3] new [JSInterop feature][4] and thus it has to be enabled in the GWT compiler args.
7575
For maven:
7676
```xml
7777
<compilerArgs>
78-
<compilerArg>-XjsInteropMode</compilerArg>
79-
<compilerArg>JS</compilerArg>
78+
<compilerArg>-generateJsInteropExports</compilerArg>
8079
</compilerArgs>
8180
```
82-
or passing it to the compiler via `-XjsInteropMode`
81+
or passing it to the compiler via `-generateJsInteropExports`
8382

8483
You can also download the [jar][5] directly or check out the source using git
8584
from <https://github.com/timeu/geneviewer.git> and build it yourself. Once
@@ -97,8 +96,8 @@ file like this:
9796
[0]: http://processingjs.org
9897
[1]: https://github.com/timeu/GeneViewer/blob/master/geneviewer-sample/src/main/resources/sample/client/data/genes.json
9998
[2]: https://github.com/timeu/GeneViewer/blob/master/geneviewer-sample/src/main/resources/sample/client/data/genes_with_features.json
100-
[3]: http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1
101-
[4]: https://docs.google.com/document/d/1tir74SB-ZWrs-gQ8w-lOEV3oMY6u6lF2MmNivDEihZ4/edit#
99+
[3]: http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_BETA1
100+
[4]: https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.o7amqk9edhb9
102101
[5]: https://github.com/timeu/GeneViewer/releases
103102
[6]: http://timeu.github.io/GeneViewer
104103
[7]: https://github.com/timeu/GeneViewer/tree/master/geneviewer-sample

pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,14 @@
121121
<startupUrl>geneviewersample/index.html</startupUrl>
122122
</startupUrls>
123123
<compilerArgs>
124-
<compilerArg>-XjsInteropMode</compilerArg>
125-
<compilerArg>JS_RC</compilerArg>
124+
<compilerArg>-generateJsInteropExports</compilerArg>
126125
</compilerArgs>
127126
<devmodeArgs>
128-
<arg>-XjsInteropMode</arg>
129-
<arg>JS_RC</arg>
127+
<devmodeArg>-generateJsInteropExports</devmodeArg>
130128
<devmodeArg>-incremental</devmodeArg>
131129
</devmodeArgs>
132130
<codeserverArgs>
133-
<arg>-XjsInteropMode</arg>
134-
<arg>JS_RC</arg>
131+
<arg>-generateJsInteropExports</arg>
135132
<arg>-incremental</arg>
136133
</codeserverArgs>
137134
<moduleName>${gwt.module}</moduleName>

0 commit comments

Comments
 (0)