I tried to keep the book accurate, but mistakes inevitably made it in. Below is a list of errors and their corrections submitted by the astute readers of Getting StartED with Dojo:
|27||Description is backwards in “NotED”||Should read:
The double plus (++) operator in most programming languages when appended to a variable that contains a number will increase that number by one. NOte that when you use it as described before, the number is returned then is increased by one; if you prefix the variable with the double plus (as in ++i), the value is incremented then returned. By the same token, a double minus (–) can be used in the same manner, but it will decrement the value.
|122||dojo.connect(btnFoo, “onclick”, btnFoo_click);||dojo.connect(foo, “onclick”, btnFoo_click);|
|241||The header reads dojo.delcare||dojo.declare|
Utilize the below corrections if you are using dojo 1.5 later or if these example files did not work for you.
Click any of the filenames to download a zip archive of the corrected file and unzip the file to the appropriate location for the chapter.
||Delete this line|