-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Some docs #2
Comments
I agree. I'm piling that up, and hopefully I'll find some time to do it this week. |
Hi Sébastien, I'm okay to crawl in code. What I would like to have is:
As I've mentioned to you privately, my aim is the wonderful http://snapsvg.io aka bringing vector graphics to Scala. |
Hi @akauppi. I believe the mailing list is the best place to discuss this. Would you mind resending this there? |
That said, to get you started: To compile, just use
in sbt. That's about all that can be done to "test" this thing, unfortunately. Because actually there isn't any behavior in this library. Everything is implemented in the original As for a walkthrough, well, it's very simple: it's only a Scala definition for the types of the API described in the jQuery documentation. There isn't anything else. The definitions are written by following the rules about facade types documented here: http://www.scala-js.org/doc/calling-javascript.html |
Sure. :) mailing list it is |
It would be nice to see at least a code snippet (or a link to appropriate part of scalajs docs if you prefer to keep it in one place) about getting started (if I imported latest jquery 2, how should I use if with scala, from which trait to inherit?) as well as warnings of what is implemented and what is not.
What about defining additional type alias for ??? that will be used to avoid confusion between defining a trait for existing JS library and "not implemented mark" (as most of the people got used to such ??? meaning)
The text was updated successfully, but these errors were encountered: