Closed duongnghiephuy closed 1 year ago
Thank you very much for this! I made a couple of coding style changes, but you'd done most of the work. I changed the check for whether a variable is defined to use scope.getVariable
.
Please can you add your name to CONTRIBUTORS.md
in a new PR, or tell me how you'd like to be attributed?
I followed the recommended solution. Added a check in
mark_answers
function in part runtime/scripts/part.js : if an entry in the marking parameters object is defined in the scope, throw an error.