Errata

Programming HTML5 Applications

Errata for Programming HTML5 Applications

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed, PDF, ePub Page 14

Syntax error throws error: Uncaught TypeError: undefined is not a function

```
$('div.alert').text("Message").fadein (2000).click(
function ()
{
$(this).fadeout(2000);
} );

```
should be

```
$('div.alert').text("Message").fadeIn (2000).click(
function ()
{
$(this).fadeOut(2000);
} );

```

Eric Satnik  Jul 12, 2014 
PDF Page 1
Paragraph 2

Should substitute Sir Tim Berners-Lee for Sir Tim Burners-Lee.

Veli Niilus  Jun 07, 2011 
Other Digital Version 3
Top of page

Images are mostly black on Amazon Kindle in the mobi version.

Henning Eggers  May 17, 2011 
PDF, Other Digital Version Page 6
5th paragraph in "The History of JavaScript" box

"threw" -> "through"

Henning Eggers  May 17, 2011 
PDF Page 6
3rd paragraph

In sentence beginning "In 1997 Google realized", I suspect that the year Google released gears should be 2007.

Veli Niilus  Jun 07, 2011 
PDF Page 6
History Of Javascript Box 4th, 5th & 7th paragraphs

Paragraph 4 last sentence "pleasent" to work in" should be "pleasant to work in".

Paragraph 5 phrase in parentheses "(named for the charecter in
Goastbusters)" should be "(named for the character in
Ghostbusters)".

Paragraph 7 replace "sufferes" with "suffers"

Veli Niilus  Jun 07, 2011 
PDF Page 6
First full paragraph

The second sentence ends with Konqueror.. (double period)

Christopher Swingley  Jun 09, 2011 
PDF Page 6
JavaScript box

s/Javascript/JavaScript/g

Christopher Swingley  Jun 09, 2011 
PDF Page 6
2nd full paragraph

It says Google Gears was introduced in 1997 (later on it mentions 2007 correctly)

Manno_Bult  Jun 22, 2011 
PDF Page 9

How much revision of this book will occur before release?
It seems that the content doesn't really live up to the title nor the description. For example, on page 9, the author writes "This chapter is not a full introduction to the power of JavaScript." and goes on to point out several O'Reilly titles that cover JavaScript in depth. The next 16 pages then go on to cover beginner-to-intermediate JavaScript.

Chapter 3 seems pointless: Yes, jQuery is cool. No, there's nothing in the chapter that's HTML5-related. Ditto chapter 4 and ExtJS. Heck, same with chapter 1. It might be interesting in a scholarly treatise on the origins of dynamic web content, but here it looks like filler.

By my reckoning, the first HTML5-related content doesn't appear until chapter 6.

Chapter 10 seems irrelevant as well. Someone buying a book on HTML5 probably doesn't care about one person's prediction of what Internet technology will look like 6 years hence.

In summary, O'Reilly is asking $28 for a book that could probably be replaced with an afternoon's browsing on DZone.

Corey Cole  May 18, 2011 
Printed Page 9
1st paragraph

Change "asynchronous" to "synchronous"

Alan Esenther  Feb 09, 2012 
PDF Page 11
Second paragraph, examples

The paragraph mentions a "function statement (Example 2-2)" and a "function expression (Example 2-3)", but the examples themselves are named "Example 2-2 Function declaration" and "Example 2-3 Function statement". Is example 2-2 a function statement or is 2-3? Based on the text, I suspect the example headings are simply mislabeled.

Christopher Swingley  Jun 09, 2011 
PDF, Other Digital Version Page 16
Example 2-7

Author uses "itterateAjax" instead of "iterateAjax" and "itterator" instead of "iterator". A similar error occurs on page 27 Example 2-22.

Corey Cole  May 18, 2011 
PDF Page 16
3rd paragraph

The first sentence has the comma one word too late:

'In functional programming iteration, can be handled by recursion.'

would be better as:

'In functional programming, iteration can be handled by recursion.'

JamieStevens  Jun 11, 2011 
PDF Page 16
5th paragraph

Misspelled 'inconsistent' as 'inconsitent' in first sentence.

JamieStevens  Jun 11, 2011 
PDF Page 16
1st paragraph

"Must go threw the IO" should be "must go through the IO"

Manno_Bult  Jun 23, 2011 
PDF Page 16
1st paragraph

"can go threw jQuery" should be "can go through jQuery"

Manno_Bult  Jun 23, 2011 
PDF Page 17
5th paragraph

The current first sentence is:

'For strings, a large number of methods that can be called to manipulate them'.

The easiest option would just be to omit the 'that':

'For strings, a large number of methods can be called to manipulate them'.

JamieStevens  Jun 11, 2011 
PDF Page 18
4th paragraph

In the last sentence of the 4th paragraph (which starts with 'Once the following code is run...', you write '..., but to return a object...', which should be 'an object'.

JamieStevens  Jun 11, 2011 
PDF, Other Digital Version Page 113
2nd header

Author uses "protocall" instead of "protocol". Author also uses "protcall" instead of "protocol" in the paragraph following the header.

Similar errors occur throughout the book.

Corey Cole  May 18, 2011 
PDF Page 119
'The Cloud' section

canter -> center

dvjohnston  May 22, 2011 
Other Digital Version 167-80
Figure 1-1

The image provided for Figure 1-1 is dark grey on darker grey with no text when viewing the .mobi file on a Kindle DX. The page numbers provided are the Kindle "locations".

Figure 1-12 has a similar issue.

Corey Cole  May 18, 2011