Created
May 4, 2012 17:30
-
-
Save simianhacker/2596390 to your computer and use it in GitHub Desktop.
Example option object argument of for Class
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 MyClass | |
constructor: (options) -> | |
# stuff here | |
myObject = new MyClass(bar: "foo", foo: "bar") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment