Name Description Size
.jshintrc 20
app.js Init new Todo List @param {string} The name of your list 593
controller.js Take a model & view, then act as controller between them @param {object} model The model instance @param {object} view The view instance 6294
helpers.js 1530
model.js Creates a new Model instance and hooks up the storage. @constructor @param {object} storage A reference to the client side storage class 3277
store.js jshint eqeqeq:false 4500
template.js Creates an <li> HTML string and returns it for placement in your app. NOTE: In real life you should be using a templating engine such as Mustache or Handlebars, however, this is a vanilla JS example. @param {object} data The object containing keys you want to find in the template to replace. @returns {string} HTML String of an <li> element @example view.show({ id: 1, title: "Hello World", completed: 0, }) 2755
view.js View that abstracts away the browser's DOM completely. It has two simple entry points: - bind(eventName, handler) Takes a todo application event and registers the handler - render(command, parameterObject) Renders the given command with the options 5790