Skip to content

Commit 39e7e89

Browse files
committed
bah
1 parent a76657b commit 39e7e89

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎v3/js/composingprograms.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ function executeCode(forceStartingInstr, forceRawInputLst) {
6565
py_crazy_mode: false,
6666
origin: originFrontendJsFile};
6767

68+
var surveyObj = getSurveyObject();
69+
if (surveyObj) {
70+
backendOptionsObj.survey = surveyObj;
71+
}
72+
6873
var startingInstruction = forceStartingInstr ? forceStartingInstr : 0;
6974

7075
var frontendOptionsObj = {startingInstruction: startingInstruction,

‎v3/js/csc108h.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ function executeCode(forceStartingInstr, forceRawInputLst) {
6464
py_crazy_mode: false,
6565
origin: originFrontendJsFile};
6666

67+
var surveyObj = getSurveyObject();
68+
if (surveyObj) {
69+
backendOptionsObj.survey = surveyObj;
70+
}
71+
6772
var startingInstruction = forceStartingInstr ? forceStartingInstr : 0;
6873

6974
var frontendOptionsObj = {startingInstruction: startingInstruction,

0 commit comments

Comments
 (0)