diff options
Diffstat (limited to 'js/codeq/python.js')
-rw-r--r-- | js/codeq/python.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js index 05821e1..9fc34c8 100644 --- a/js/codeq/python.js +++ b/js/codeq/python.js @@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ navigationPhython.addClass("active"); navigationPhython.css('display', ''); - jqScreen.css('display', '');//we have to show the screen now so the code editor shows its initial values correctly + jqScreen.css('display', ''); // we have to show the screen now so the code editor shows its initial values correctly pythonHandler = createPythonHandler(problemDef, commonDef, currentSolution); }; @@ -39,9 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ 'jqScreen': jqScreen, 'enter': function (ref, data) { - codeq.loadProblemData(ref,data).then(function(problem){ - //codeq.log.debug("then:"+JSON.stringify(problem)); - enterFun(problem.generalProblemData,data.commonDef,problem.solution); + codeq.loadProblemData(ref, data).then(function (problem) { + enterFun(problem.generalProblemData, data.commonDef, problem.solution); }) .fail(function (reason) { codeq.log.error('Failed to obtain the problem definition: ' + reason, reason); |