Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate traits/classes/objects with @js.native (required since ScalaJS 0.6.5) #1

Merged
merged 3 commits into from Nov 27, 2015

Conversation

romac
Copy link

@romac romac commented Nov 23, 2015

Note: package object ace doesn't extend js.GlobalScope anymore.
Extending js.Any (or any of its subclasses) requires us, since ScalaJS 0.6.5, to annotate the object with @js.native. Sadly, package objects cannot be annotated, and we thus need to explicitly assign a value to ace. More information at scala-js/scala-js#1892.

…JS 0.6.5).

Note: `package object ace` doesn't extend js.GlobalScope anymore.
Extending js.GlobalScope requires us, since ScalaJS 0.6.5, to
annotate the object with @js.native. Sadly, package objects
cannot be annotated, and we thus need to explicitly assign
a value to `ace`.

More information at scala-js/scala-js#1892
@romac
Copy link
Author

romac commented Nov 27, 2015

@MikaelMayer So it appears that the latest version of the ScalaJS sbt plugin is indeed 0.6.5 as seen in the documentation and on bintray. As ScalaJS was experimental up until recently, it's not impossible that they changed the versioning scheme at some point.

MikaelMayer added a commit that referenced this pull request Nov 27, 2015
Annotate traits/classes/objects with @js.native (required since ScalaJS 0.6.5)
@MikaelMayer MikaelMayer merged commit fe7df3b into MikaelMayer:master Nov 27, 2015
@romac romac deleted the scalajs-0.6.5 branch November 27, 2015 16:22
MikaelMayer pushed a commit that referenced this pull request Dec 14, 2015
Updated missing scalajs commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants