This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /app.js | |
// on load, create the controller, render the initial list view | |
window.addEventListener('load', function() { | |
// create a note-list-model, with a Note | |
var noteList = new NoteList(Note) | |
// create the note-list-view | |
var noteListView = new NoteListView(noteList) |