In the third paragraph under the topic, Your Own Workspace, getting to the tdjsa directory is not fully explained. The tdjsa.zip with the workspace is embedded in the code directory from the download file, vsjavas-code.zip.

More explanation of this would prevent us from starting in the code solutions section. --George S. Cowan

In the third paragraph under the topic, Your Own Workspace, getting to the tdjsa directory is not fully explained. The tdjsa.zip with the workspace is...more...

Reported in:
P1.0
(13-Nov-16)

#80878Paper page: xvii

page says unzip tdjsa.zip

Pragmatic Site book page only offers vsjavas-code.zip--Philip Schwarz

Reported in:
P1.0
(25-Nov-16)

#80925PDF page: 6

“Automated testability _is a design issue_.”

should be:
“Automated testability is a design issue.”

Markdown syntax for italic text had been forgotten to the formatted text. That should either be marked with italic font style, and/or _ characters should be removed.--Daniel Schildt

“Automated testability _is a design issue_.”
should be:
“Automated testability is a design issue.”
Markdown syntax for italic text had been for...more...

Reported in:
P1.0
(05-Mar-18)

#82874Paper page: 20

"That also raises a few question" -> should be "a few questions"

Reported in:
P1.0
(03-Jun-17)

#81630PDF page: 103

Thanks, book is great, but Yahoo Finance has changed their API, and examples does not work anymore

As we can see, the controller's convertNewTaskToJSON function doesn't receive parameters and internally it works with the controller.newTask model. By something that I suppose is the nature of JavaScript, there is no error by passing an unexpected parameter to the function, but it confused me a little when I was studied the book's example. Some of the changes that I did to that 'addTask should call the service' test are the following, which doesn't break it:

I would like to know your comments about this and, if pertinent, see the corresponding updates to your entertaining book.

Thanks!--JavaScript Learner

Hi!
Am I missing something or is there a harmless syntactic error in the 'addTask should call the service' test?
The file at testangularjs/todo/...more...

Reported in:
P1.0
(11-Nov-16)

#80874PDF page: 216

Hi again!

By the same lines of a previous erratum I submitted some moments ago, the addTask function of the controller sends a newTask parameter that the convertNewTaskToJSON doesn't expect. Originally we have this code:

Hi again!
By the same lines of a previous erratum I submitted some moments ago, the addTask function of the controller sends a newTask parameter th...more...

Reported in:
P1.0
(12-Nov-16)

#80877PDF page: 242

Hello!

When exploring the angular spike of chapter 9 and running the "npm install" and "npm start" commands, I faced some errors like these:

- HTTP 404 error responses about several non existing JavaScript files included from the index.html file. The reason is that the package.json that I started with did not have the full dependencies needed by the sample

- Problems with the src/main.js file, specifically the line ng.platformBrowserDynamic.bootstrap(app.LangsComponent) because such "bootstrap" functions seems to no longer exist in versions of Angular more recent that the one used in the book samples

npm ERR! Please include the following file with any support request:
npm ERR! /home/osg/code/hindu/tdjsa/angularspike/npm-debug.log
# ...

From a general investigation I did, the root cause is changes in the Angular internals. Given that I only wanted to run the sample, I modified the package.json file so that it uses specific versions of each dependency, instead of allowing open version ranges. The working dependencies section, inside package.json that I ended with, is this:

It would be interesting to know how to make this sample spike working with the more recent versions of Angular 2 components.

Hope this helps!
--JavaScript Learner

Hello!
When exploring the angular spike of chapter 9 and running the "npm install" and "npm start" commands, I faced some errors like these:
- H...more...

Reported in:
P1.0
(14-Nov-16)

#80879PDF page: 278

Hello again!

After running the "npm start" command and opening http :// localhost : 3000 page in a browser, the application fails because it doesn't know about the validateTask() function. I solved it by updating the "head" section of the index.html file so that it has this line:

<script src="javascripts/common/validate-task.js"></script>

I think a brief note about this need would come handy at this part of the book.

Thank you!
--JavaScript Learner

Hello again!
After running the "npm start" command and opening http :// localhost : 3000 page in a browser, the application fails because it doesn'...more...

Reported in:
P1.0
(17-Nov-16)

#80888PDF page: 309

After listing the source for the AngularJS tests file, there is a typo in the file name mentioned.

It says:

"The first change is that instead of requiring tasksj.page.js, this test file brought in
the new tasjsa-page.js file."

It can be corrected like this:

"The first change is that instead of requiring tasksj.page.js, this test file brought in
the new tasksa-page.js file."

Hope this helps.

Thanks for your time and attention!
--JavaScript Learner

After listing the source for the AngularJS tests file, there is a typo in the file name mentioned.
It says:
"The first change is that instead of...more...

Reported in:
P1.0
(17-Nov-16)

#80890PDF page: 357

Today I've just finished my first exploration of this whole book by doing the examples in my own environment, typing them, studying each step and I can say it's an excellent book.

I like how the author explain things, making the complex seem simple and now I would like him to publish new books about the following:

a) Following the Behavior Driven Development approach when developing JavaScript applications with frameworks like Ember.js or Angular and with tools similar to Cucumber and using the Given-When-Then syntax

b) Using JavaScript on the client side (web browsers) with another programming language on the server side, like Python, Ruby, Elixir, Groovy or another one. Things like, for example, reusing the "validateTask" function on both the server and client side would no longer be possible, among other things

Thanks a lot for authoring this book, I enjoyed it a lot!
--JavaScript Learner

Today I've just finished my first exploration of this whole book by doing the examples in my own environment, typing them, studying each step and I ca...more...