Errata for Prototype and script.aculo.us
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is P1.0, released 6 months 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.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 19-20 |
#32136: HTML on page 19 contains one table, but all subsequent figures 2.2 and 2.3 display two tables.
|
P1.0 | ||
| 23 |
#30450: thebungeebook.net looks for a local link--Arun S Rajagopalan |
P1.0 | ||
| 33 |
#32248: In the syntax block that shows the definition for multiple elements, what is shown is
$(ID|element...) -> [ extendedElement, ...]
But I...more...
|
RC1.0 | ||
| 42 |
#30516: On the for() code snippet
for (var index = 0, l = array.length; index < l; ++index) // etc
It would be advisable to change <em>l</em> to...more...
|
P1.0 | ||
| 62 |
#31112: 'Vowels are bad for you' .gsub(/[aeiouy]/, '-')
// -> 'V-w-ls -r- b-d f-r ---'
Please note that Y is a consonant when it comes at the begi...more...
|
RC1.0 | ||
| 74 |
#30509: Unusual page break after only 4 lines of text. Text on next page begins: "Or you may just want to evaluate the scripts in an HTML fragment: "--Robert Rainthorpe |
P1.0 | ||
| 102 |
#30154: If 'hello'.length is 5, how can 'is'.length be 3?--Daniel Ashton |
P1.0 | ||
| 116 |
#30155: English grammar: "say you got only one" should be either "say you have only one" or "say you've got only one."--Daniel Ashton |
P1.0 | ||
| 200 |
#31217: The ruby code for example search does not work on MAC OS (I tried it on Linux just fine). Maybe the method "get_search_results()" which search...more...
|
P1.0 | ||
| 258 |
#32241: the correct name for the option in the Effect.Highlight is restorecolor and not revertcolor--Sergio Pereira |
P1.0 | ||
| 259 |
#31867: There isn't revertcolor option in Effect.Highlihght
There are 3 color options (startcolor, endcolor, restorecolor)
I guess revertcolor is ...more...
|
P1.0 | ||
| 284 |
#31557: In chapter 15 that talks about Draggables, the text talking about the "delay" option says that the value is in "seconds", despite the preceedi...more...
|
P1.0 | ||
| 323 |
#30505: The whole scriptaculous chapter is completely different to the downloadable code. For instance the advanced page and ajax page contain only 1 ...more...
|
P1.0 | ||
| 330 |
#32401: The downloadable code for this book has a comment at the top of scriptaculous/autocomplete/advanced/suggestions.rhtml that does not appear in ...more...
|
P1.0 | ||
| 345 |
#31990: Builder shorthand methods (perhaps all builder create methods too) require the second arg to be an array of elements and not the element itsel...more...
|
P1.0 |
