From dca686ef3aceb92541f6d70fd82ab37c3c9825ff Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 10 Aug 2017 10:12:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_game_results.html.erb | 1 - public/javascripts/edu/edu_tpi.js | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/views/games/_game_results.html.erb b/app/views/games/_game_results.html.erb index 99c46310e..2321bda0b 100644 --- a/app/views/games/_game_results.html.erb +++ b/app/views/games/_game_results.html.erb @@ -134,7 +134,6 @@ [<%= @latest_output.html_safe unless @latest_output.blank? %>], '<%= @language %>' ); - $("#game_test_set_results").html(html); $("#blacktab_nav_1").trigger("click"); }); diff --git a/public/javascripts/edu/edu_tpi.js b/public/javascripts/edu/edu_tpi.js index 5937a6cc8..b16cca0df 100644 --- a/public/javascripts/edu/edu_tpi.js +++ b/public/javascripts/edu/edu_tpi.js @@ -279,6 +279,11 @@ function code_evaluation(test_sets, } for (var i = 0; i < test_sets.length; i++) { + console.log("test_sets: " + test_sets[i].result); + console.log("test_sets: " + test_sets[i].is_public); + console.log("test_sets: " + test_sets[i].actual_output); + console.log("test_sets: " + test_sets[i].output); + console.log("test_sets: " + test_sets[i].input); $e = "
"; $f = "