/**
 * Created by Deepak Sisodiya on 10/12/14.
 */


var app = {};

app.Todo = Backbone.Model.extend({

  defaults: {
    title: "",
    completed: false
  },

  initialize: function() {
    console.log("todo model");
  },

  setCompleted: function() {
    this.set({
      "completed": true
    });
  },

  setIncompleted: function() {
    this.set({
      "completed": false
    });
  },

  isCompleted: function() {
    return this.get("completed");
  }

});
@@ -154,308 +154,10 @@
 %0A  %7D
-,
 %0A%0A
-  initialize: function() %7B%0A    console.log(%22todo model%22);%0A  %7D,%0A%0A  setCompleted: function() %7B%0A    this.set(%7B%0A      %22completed%22: true%0A    %7D);%0A  %7D,%0A%0A  setIncompleted: function() %7B%0A    this.set(%7B%0A      %22completed%22: false%0A    %7D);%0A  %7D,%0A%0A  isCompleted: function() %7B%0A    return this.get(%22completed%22);%0A  %7D%0A%0A
 %7D);
+%0A

Update todo.js