(function() {
  'use strict';

  // Model

  var Task = Backbone.Model.extend({
    defaults: {
      title: 'do something!',
      completed: false
    }
  });

  var task = new Task();

  // View

  var TaskView = Backbone.View.extend({
    tagName: 'li',
    template: _.template($('#task-template').html()),
    render: function () {
      var template = this.template(this.model.toJSON());
      this.$el.html(template);
      return this;
    }
  });

  var taskView = new TaskView({
    model: task
  });

  console.log(taskView.render().el);

  $('body').append(taskView.render().el);

}());

@@ -438,16 +438,122 @@
 n this;%0A
+    %7D,%0A    events: %7B%0A      'click': 'sayHello'%0A    %7D,%0A    sayHello: function  () %7B%0A      alert('Hello!');%0A
     %7D%0A  

Add click event.