Created
June 20, 2014 16:27
-
-
Save davidortinau/b7d7a34631aeca845c91 to your computer and use it in GitHub Desktop.
Method Scope
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
SomeView = Backbone.View.extend | |
viewMethod: -> | |
# do something in the view, can be called @viewMethod() or from outside like someView.viewMethod() | |
otherMethod = () -> | |
# whaddya call this? | |
otherOtherMethod = () -> | |
# whaddya call this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment