Created
October 11, 2012 04:23
-
-
Save asalant/3870151 to your computer and use it in GitHub Desktop.
Ubiquitous JS example: Backbone User
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
| UserMixin = require '../../../../shared/user_mixins' | |
| module.exports = class User extends Backbone.Model | |
| idAttribute: '_id' | |
| urlRoot: '/users' | |
| UserMixin(User) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment