Go To Homepage



Book Details
MooTools Essentials: The Official MooTools Reference for JavaScript™ and Ajax Development book cover
  • By Aaron Newton
  • ISBN13: 978-1-4302-0983-6
  • ISBN10: 1-4302-0983-6
  • 300 pp.
  • Published Aug 2008
  • Print Book Price: $19.99
  • eBook Price: $13.99

Book Resources


Errata Submission

If you think that you've found an error in MooTools Essentials: The Official MooTools Reference for JavaScript™ and Ajax Development, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

Submit Errata
MooTools Essentials: The Official MooTools Reference for JavaScript™ and Ajax Development (978-1-4302-0983-6)

Errata

Issue Author's Response
Appendix: Core Concepts in JavaScript, page 239.
I have just received and opened your book on a random page to find a bitter surprise (not so bitter to be honest): the example code is wrong. The instruction now++ on line 8 should be now-- otherwise the variable don't get 0 and the loop don't stop.
This is correct (my bad!). The code should read:

if (now > 0) {
now--;
setTimeout(fade, 50);
}