pconrad/AwesomeNextSteps — pull request #19 by jolting (2014-05-04 02:47:46+00:00)
Title: Refactored for easy quiz additions

You only need to add the quiz to index.html and add your file to js/questions/[question name].js
For example you will still need to add a line to index.html
Python Program Output

When quiz.html receives questionType=pythonProgramOutput it will load js/questions/pythonProgramOutput.js.

It will then set questionFunc = pythonProgramOutputQuestion and quizname = pythonProgramOutputName

This will make it easier to add new question types without modifying 3 files.