Errata: 1st Edition

Chapter 13, page 270, in the section Using jQuery’s $.ajax method

The last code listing on the page shows a call to remoteDS.getAll().

At this point, getAll expects a callback, and should be invoked like so:

remoteDS.getAll(function (data) { console.log(data); });