Todo - dennisvintherjensen/OpenClassrooms-FED-Enhance-an-existing-project GitHub Wiki

Description

Initializes the application. After initialization the controller method setView needs to be run with the document.location.hash as an argument.

Properties

  • storage: Instance of the client side storage class
  • model: Instance of the model class
  • template: Instance of the template class
  • view: Instance of the view class
  • controller: Instance of the controller class

Constructor

Todo(name): Sets up a brand new Todo list.

Properties

  • {string} name: The name of your new to do list.