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 classmodel
: Instance of the model classtemplate
: Instance of the template classview
: Instance of the view classcontroller
: 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.