small medium large xlarge

The latest version of the book is P1.0, released over 1 year ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (08-Jul-16)
  • Fixed: 13-Jul-16, awaiting book release
#80510
PDF page: 33
following code $('.view-container').empty().append(viewFn()); causing test runner failure "TypeError: viewFn is not a function" probably it should...more...
Ben Rady says: You definitely want to invoke the viewFn and append the result, rather than trying to append the function itself. I would double check that you've defined viewFn correctly.
  • Reported in: P1.0 (03-Oct-16)
  • Fixed: 03-Oct-16, awaiting book release
#80783
Paper page: 35
After adding the spyOn function to the app_spec.js file and re-deploying the app, the Jasmine test framework reports "No specs found". I'm using ver ...more...
  • Reported in: P1.0 (03-Oct-16)
  • Fixed: 03-Oct-16, awaiting book release
#80784
Paper page: 35
This is a retraction of my previous erratum report...I found that I had neglected to close a string in a parameter to the "expect" function of the spy...more...
  • Reported in: P1.0 (11-Sep-16)
#80709
PDF page: 48
Minor, but the SpecHelper.js being mentioned contains a loadFixture function which accepts a "path" parameter. The parameter is not being used inside ...more...
  • Reported in: P1.0 (16-Dec-16)
#80976
PDF page: 48

I don't think the tests were updated after the changes to learns.problem view. Text no longer equals 'Problem #1 Coming Soon!'--A Scott Overfield

  • Reported in: P1.0 (26-Jul-16)
#80559
Paper page: 48
In the code samples starting with brapps/code/learnjs/3000/public/index.html, there is one <style> with two </style> statements at the end of the head...more...
  • Reported in: P1.0 (14-Oct-17)
#82149
Paper page: 57

learnjs.applyObject(learnjs.problems[problemNumber 1], view);
- is missing
[problemNumber - 1]--masanori

  • Reported in: P1.0 (20-Oct-16)
#80818
Paper page: 76
Executing the ./sspa create_pool command creates a pool, but not the role name. This is due to an error in the "assume_role_policy.json" file. Manua...more...
  • Reported in: P1.0 (20-Sep-16)
  • Fixed: 26-Sep-16, awaiting book release
#80746
PDF page: 86
"Also, note the use of jQuery’s bind function to attach an event listener to the view element." jQuery's "bind" is deprecated, so it would be bette...more...
Ben Rady says: .bind() is deprecated in jQuery 3.0. This book uses jQuery 2.x. Feel free to use .on() instead of you want to upgrade.
  • Reported in: P1.0 (23-Mar-17)
  • Fixed: 26-Apr-17, awaiting book release
#81236
PDF page: 121
When I was trying to create the lambda functions, I did: ​learnjs $ ​​./sspa​​ ​​build_bundle​ ​learnjs $ ​​./sspa​​ ​​create_service​​ ​​conf/lambd...more...
Ben Rady says: It's possible the lambda was not created. Can you tell me what your conf/lambda/functions/popularAnswers/config.json file looks like?
  • Reported in: P1.0 (03-Apr-17)
  • Fixed: 26-Apr-17, awaiting book release
#81350
PDF page: 121
Hi Ben, regarding to the problem #81236, I solved it using Runtime: "nodejs4.3", it is a minor issue, but would be good a review. Thanks.--Alfredo Ci...more...
Ben Rady says: Thanks for reporting this. Amazon recently ended support for earlier versions of Nodejs in Lambda. I updated the sspa script in github to reflect this change and use Node version 4.3.