Errata for Closure: The Definitive Guide
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. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update
| Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
| Printed |
Page 75
2nd paragraph, after code sample |
The sentance
"This would make it possible to rewrite goog.string('foobar', 'foo') as 'foobar'.startsWith('foo')"
Should instead read:
"This would make it possible to rewrite goog.string.startsWith('foobar', 'foo') as 'foobar'.startsWith('foo')"
|
James Bogosian |
Jan 21, 2011 |
|
| Printed |
Page 98
2nd paragraph |
The sentence "Although it uses goog.dom.classes.add and goog.dom.classes.remove, goog.dom.classes.enable does have a return value of its own." has a missing "not". It should read "Although it uses goog.dom.classes.add and goog.dom.classes.remove, goog.dom.classes.enable does *not* have a return value of its own."
Note from the Author or Editor: Nice catch!
|
Anonymous |
Feb 23, 2011 |
|
| Printed |
Page 111
US |
Last paragraph, "Regardless of which side of debate" -> "the debate"?
|
Antonio Rodriguez |
Oct 06, 2010 |
|
| Printed, PDF |
Page 139
3rd paragraph |
The text ", the fourth argument," near the beginning of the third paragraph should be in a regular font (not monospaced).
|
Anonymous |
Nov 23, 2010 |
|
| PDF |
Page 162
2nd paragraph |
The second paragraph says "This id can be used later to abort the request via the manager's setAbort(id, opt_force) method, if desired." The referenced method is in fact "abort(id, opt_force)".
Note from the Author or Editor: Agreed, thanks for the fix!
setAbort(id, opt_force)
should be changed to:
abort(id, opt_force)
|
andyschmitz |
Jan 04, 2011 |
|
| Printed |
Page 190
United Kingdom |
In the top paragraph, "displayInternal()" should be "decorateInternal()"
Note from the Author or Editor: This is correct -- it should be fixed as reported.
|
Adam Mcgrath |
Jan 19, 2012 |
|
| Printed |
Page 249
Table 9-1, 6th Event Type |
the 6th event, DELAYED_CHANGE does not work.
DELAYEDCHANGE is right.
perhaps, update for closure seemed to make a change to this event name from DELAYED_CHANGE to DELAYEDCHANGE.
Note from the Author or Editor: Good catch -- apparently there are several issues with this table:
DELAYED_CHANGE should be DELAYEDCHANGE
BEFORE_CHANGE should be BEFORECHANGE
BEFORE_FOCUS should be BEFOREFOCUS
BEFORE_TAB should be BEFORETAB
SELECTION_CHANGE should be SELECTION_CHANGE
They need to be updated within the chapter in various places, as well.
|
Chang Min Jo |
Nov 17, 2011 |
|
| PDF |
Page 251
First line |
setModelMode should be setModalMode.
Note from the Author or Editor: Correct, where it says:
setModelMode/inModalMode
should be changed to:
setModalMode/inModalMode
|
Andy Schmitz |
Oct 05, 2011 |
|
| Printed |
Page 430
1st paragraph |
In Eclipse for a Mac, Command-Shift-T launches the "Open Type" dialog, not Option-Shift-T.
Note from the Author or Editor: Correct, "Option-Shift-T on a Mac" should be "Command-Shift-T on a Mac".
|
Anonymous |
Oct 19, 2010 |
|
|
| |