Skip to content

Commit

Permalink
test id for s3,4,5,6
Browse files Browse the repository at this point in the history
  • Loading branch information
keweizhan committed Mar 18, 2024
1 parent 9fd796f commit 9f78b9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/javascripts/simple_code.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ $(document).ready(function(){
document.getElementById("instructions").innerHTML = data[index].instructions;
config.sortableId = 'sortable';
config.trashId = 'sortableTrash';
console.log(data[index]['parsonsConfig']['turtleModelCode']);
console.log(data[index]['parsonsConfig']
['turtleModelCode']);
console.log(externalId)
// 如果config中有turtleModelCode,就把grader改成TurtleGrader
if (data[index]['parsonsConfig']['turtleModelCode']) {
config.grader = ParsonsWidget._graders.TurtleGrader;
Expand Down

0 comments on commit 9f78b9a

Please sign in to comment.