You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a snippet of the documentation which shows a package object extending js.GlobalScope, but these will not compile because it lacks @js.native annotations.
The text was updated successfully, but these errors were encountered:
It will compile actually if the -Xfatal-warnings is not set. But in any case it seems to be deprecated, so that the example in the documenation should remove the package object example, and explain instead the preferred method explained by sjrd in issue 177
Found by @bblfish here:
scala-js/scala-js-dom#177 (comment)
On this page:
http://www.scala-js.org/doc/interoperability/facade-types.html
There is a snippet of the documentation which shows a package object extending js.GlobalScope, but these will not compile because it lacks @js.native annotations.
The text was updated successfully, but these errors were encountered: