Last active
December 17, 2015 03:08
-
-
Save DavertMik/5540669 to your computer and use it in GitHub Desktop.
mail model
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
Mail = Backbone.Model.extend({ | |
domain: function() { | |
return "@mailican.com"; | |
}, | |
local: function() { | |
return user.get('name')+"."+this.get('alias'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment