Head-First-HTML5 icon indicating copy to clipboard operation
Head-First-HTML5 copied to clipboard

[bug] inside createTask function in mandellib.js, generation is undefined

Open sinwailam193 opened this issue 10 years ago • 0 comments

Hi Beth,

I learned a lot from your books, thank you for you're doing. As I came across in one of your chapters for the html5 book, the function createTask in mandellib.js contains an undefined variable, "generation". I simply added a second parameter into the function and in mandel.js I passed in 'generation' into the createTask for the web worker.

sinwailam193 avatar Nov 02 '15 03:11 sinwailam193