code: function (e) {
              if (e.keyCode !== 13) return;
              e.preventDefault();
              var $input = $(e.target);
              var val = $input.val();
              if (val) {
                  $input.val('');
                  this.options.addItem(val);
              }
          }
docs: A new **Todo** is added to the collection when *Enter* is pressed. Calls Controller's `addItem` method and empty the input field.