Skip to content

Commit

Permalink
Fixed app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aarjavjain1 committed Jan 3, 2020
1 parent c85eccf commit 08b9f8d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions blind_coding/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ function runCode(){

console.log(getQNum())

var program = {
script : getCode(),
language: getLanguage(),
versionIndex: getVersion(),
let program = {
// Code equals script
// script : getCode(),
// language: getLanguage(),
script : prog,
language: lang,
versionIndex: versions[versionNo],
stdin: getCustomInput(), //to give custom input
qNo: getQNum(),
timeElapsed: time
Expand Down

0 comments on commit 08b9f8d

Please sign in to comment.