Created
December 18, 2010 10:16
-
-
Save lumin3000/746376 to your computer and use it in GitHub Desktop.
module pattern in CoffeeScript
This file contains hidden or 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
| jclass = ()-> | |
| max = 1 | |
| res = (x)->alert 2 | |
| result= | |
| alert:(x)->alert 1 | |
| ds:(x,y)-> | |
| alert(y+max) | |
| instance = jclass null | |
| instance.ds 18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment