codebar/tutorials — pull request #86 by jkbits1 (2014-05-27 00:23:07+00:00)
Title: Changed processEpisode item_html variable to be local rather than global

This line in tutorial.md, and the script.js file in the tutorial's associated gist, define function variables as global rather than local.

I've cloned the gist, and made (and tested) the relevant changes to script.js, which can be seen here:
https://gist.github.com/jkbits1/e8a0d2bacc2c89b6a7ff/revisions

By all means reject this request, e.g. if the students should know and spot sort of thing by now, or if the coach and student will consider this together, etc.

These changes also make variable values much clearer when stepping through the code in the browser debugger.