Last active
April 30, 2019 13:18
-
-
Save NRBPerdijk/badcd84759c7bf7154c3303d56cf19c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Exposing bindings is an interesting way to share functionality between languages. | |
* This command makes an instance of the Domain class available under the "Domain" | |
* accessor. | |
*/ | |
context.getBindings("R").putMember("Domain", new Domain) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment