Created
February 5, 2012 14:12
-
-
Save satlavida/1745755 to your computer and use it in GitHub Desktop.
Nested classes in CoffeeScript
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
class AlertMyFriends | |
class AlertMyFriends::Show | |
constructor: -> | |
alert "Hello Friends" | |
amf = new AlertMyFriends | |
al = new amf.Show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment