Hi all… Does anyone have an example of a multiplat...
# multiplatform
n
Hi all… Does anyone have an example of a multiplatform JVM & Javascript project that uses the W3C DOM API? I’m not sure how to define the
expect
declarations because the DOM API is mapped to interfaces in the JVM platform and classes in the Javascript platform. The DOM objects are provided by factories in both platforms, so my code only needs to use the DOM objects, not instantiate the classes nor implement the interfaces. What should the expect declaration be?