gwt-log
gwt-log copied to clipboard
How to use gwt-log from javaScript
Like 62% of GWT users I use javaScript in my app. Consequently, I often need to
use GWT libraries from javaScript. There might be a clean way to export third
party GWT libraries in the future but for now I'm wandering what the easiest
way to use this library from javaScript is and or what the easiest way might be
in the future.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2015 at 12:26
In GWT JSNI(http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html)
it says to call a JSNI method that exports your code to javaScript. If you do
it this way it wouldn't be exported by default so there would be no overhead
for exporting it but if someone want to export it they can just call that
method. I can create a patch to add this method if you want. I've never
contributed to open source but I'm using gwt-log library and JSNI.
Original comment by [email protected]
on 8 Feb 2015 at 12:39