This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Description
After adding the JSON file as a variable in the server.js of Amazeriffic, will there have to be any changes in the app.js file? I think the main method of app.js needs a toDoObjects to be passed to it, but the $document.ready(function () { ... requires a todos.json file. Which shouldn't be existing anymore since we've renamed it to todos.OLD.json on page 204. Will app.js still be called using the $.getJSON element?
$(document).ready(function () {
$.getJSON("todos.json", function (toDoObjects) {
// we'll call main with toDos as an argument
main(toDoObjects);
})
});