code: function (e) {
  			if (e.which !== ENTER_KEY || !this.$input.val().trim()) {
  				return;
  			}
  
  			app.todos.create(this.newAttributes());
  			this.$input.val('');
  		}
docs: If you hit return in the main input field, create new **Todo** model, persisting it to *localStorage*.