rlayte/aladdin — pull request #6 by joelbirchler (2013-05-03 06:14:45+00:00)
Title: Fixed issue with console.log

Using console.log in any of the source files resulted in the following output to the terminal window:

ReferenceError: Can't find variable: console_reporter

phantomjs://webpage.evaluate():2
phantomjs://webpage.evaluate():3
phantomjs://webpage.evaluate():3

This was because the onConsoleMessage handler expected console_reporter to exist, but runner.html includes all source files before declaring the console_reporter variable.