code: function (id, callback) {
          var todos = data.todos;
  
          for (var i = 0; i < todos.length; i++) {
            if (todos[i].id == id) {
              todos.splice(i, 1);
              break;
            }
          }
  
          flush();
          callback.call(undefined, data.todos);
        }
docs: Will remove an item from the Store based on its ID
  
  @param {number} id The ID of the item you want to remove
  @param {function} callback The callback to fire after saving