Skip to content

Instantly share code, notes, and snippets.

@rightson
Created July 17, 2012 16:22
Show Gist options
  • Select an option

  • Save rightson/3130418 to your computer and use it in GitHub Desktop.

Select an option

Save rightson/3130418 to your computer and use it in GitHub Desktop.
var Person = Backbone.Model.extend({
initialize: function() {
console.log('Person is initialized.');
},
defaults: {
name: 'undefined',
age: 'undefined'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment