Created
January 25, 2017 08:34
-
-
Save martsie/49a1f69ee76639fbae1ed982a6c11847 to your computer and use it in GitHub Desktop.
Most basic backbone model implementation 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
# Define the model. | |
class Comment extends Backbone.Model | |
# Create a new instance of the model. | |
comment = new Comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment