Errata

YUI 3 Cookbook

Errata for YUI 3 Cookbook

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
000
http://search.safaribooksonline.com/book/programming/javascript/9781449339685/1dot-loading-modules/use_predictive_html, 1.1.18, Solution section, 3rd paragraph, number 3

The hideOverlay() function is simpler still. If the overlay is already instantiated, the function shows the overlay.

Should read:

The hideOverlay() function is simpler still. If the overlay is already instantiated, the function hides the overlay.

Note from the Author or Editor:
Confirmed, on page 43. I said "shows the overlay" -- should be "hides the overlay."

Lucas Theisen  Dec 10, 2012 
Printed
Page 29
start of last paragraph

/js/yui_config.js should be /js/yui_config_incomplete.js

Note from the Author or Editor:
The submitter is correct -- at the start of the last paragraph on page 29, "/js/yui_config.js" should actually be "/js/yui_config_incomplete.js". (The code example just above that paragraph is correct.)

Dragan Stanojević - Nevidljivi  Oct 23, 2012 
Printed
Page 25
names of *.js files at the start of paragraphs

File names in paragraphs note their location in:
/js/reptiles/giant-reptiles.js
/js/reptiles/stomp.js
/js/reptiles/fiery-breath.js

while paths in configuration in provided groups config sets them to be found in:
/js/local-modules/reptiles-core/reptiles-core.js
/js/local-modules/reptiles-stomp/reptiles-stomp.js
/js/local-modules/reptiles-fiery-breath/reptiles-fiery-breath.js

Note from the Author or Editor:
The submitter is correct. On page 25:

"/js/reptiles/giant-reptiles.js: Defines the reptiles-core module..." should be "/js/local-modules/reptiles-core/reptiles-core.js: Defines the reptiles-core module..."

"/js/reptiles/stomp.js: Defines the Y.Reptiles.stomp() method." should be "/js/local-modules/reptiles-stomp/reptiles-stomp.js: Defines the Y.Reptiles.stomp() method."

"/js/reptiles/fiery-breath.js: Defines the Y.Reptiles.breathe() method." should be "/js/local-modules/reptiles-fiery-breath/reptiles-fiery-breath.js: Defines the Y.Reptiles.breathe() method."

NOTE: the actual blocks of code are all fine -- it's the little one-sentence paragraphs *describing* those code examples that have the errors.

Dragan Stanojević - Nevidljivi  Oct 23, 2012