Commit 12a2c06f by Vik Paruchuri

Remove console.log statements

parent 2d966209
...@@ -143,11 +143,9 @@ class @CombinedOpenEnded ...@@ -143,11 +143,9 @@ class @CombinedOpenEnded
# set up handlers for click tracking # set up handlers for click tracking
Rubric.initialize(@location,@coe) Rubric.initialize(@location,@coe)
@is_ctrl = false @is_ctrl = false
console.log("init rubric")
#Setup reset #Setup reset
@reset_button = @$(@reset_button_sel) @reset_button = @$(@reset_button_sel)
@reset_button.click @reset @reset_button.click @reset
console.log("init reset")
#Setup next problem #Setup next problem
@next_problem_button = @$(@next_step_sel) @next_problem_button = @$(@next_step_sel)
@next_problem_button.click @next_problem @next_problem_button.click @next_problem
...@@ -162,19 +160,15 @@ class @CombinedOpenEnded ...@@ -162,19 +160,15 @@ class @CombinedOpenEnded
@question_header.click @collapse_question @question_header.click @collapse_question
# valid states: 'initial', 'assessing', 'post_assessment', 'done' # valid states: 'initial', 'assessing', 'post_assessment', 'done'
console.log("init collapse")
Collapsible.setCollapsibles(@$el) Collapsible.setCollapsibles(@$el)
console.log("finish collapse")
@submit_evaluation_button = @$(@submit_evaluation_sel) @submit_evaluation_button = @$(@submit_evaluation_sel)
@submit_evaluation_button.click @message_post @submit_evaluation_button.click @message_post
@results_container = @$(@result_container_sel) @results_container = @$(@result_container_sel)
console.log(@results_container)
@combined_rubric_container = @$(@combined_rubric_sel) @combined_rubric_container = @$(@combined_rubric_sel)
# Where to put the rubric once we load it # Where to put the rubric once we load it
console.log("started child")
@oe = @$(@open_ended_child_sel) @oe = @$(@open_ended_child_sel)
@errors_area = @$(@oe).find(@error_sel) @errors_area = @$(@oe).find(@error_sel)
@answer_area = @$(@oe).find(@answer_area_sel) @answer_area = @$(@oe).find(@answer_area_sel)
...@@ -192,7 +186,6 @@ class @CombinedOpenEnded ...@@ -192,7 +186,6 @@ class @CombinedOpenEnded
@file_upload_area = $(@oe).find(@file_upload_sel) @file_upload_area = $(@oe).find(@file_upload_sel)
@can_upload_files = false @can_upload_files = false
@open_ended_child= $(@oe).find(@open_ended_child_sel) @open_ended_child= $(@oe).find(@open_ended_child_sel)
console.log("Passed child")
@out_of_sync_message = 'The problem state got out of sync. Try reloading the page.' @out_of_sync_message = 'The problem state got out of sync. Try reloading the page.'
...@@ -436,7 +429,6 @@ class @CombinedOpenEnded ...@@ -436,7 +429,6 @@ class @CombinedOpenEnded
@is_ctrl=false @is_ctrl=false
save_assessment: (event) => save_assessment: (event) =>
console.log("callback save assessment")
event.preventDefault() event.preventDefault()
if @child_state == 'assessing' && Rubric.check_complete() if @child_state == 'assessing' && Rubric.check_complete()
checked_assessment = Rubric.get_total_score() checked_assessment = Rubric.get_total_score()
......
...@@ -103,7 +103,6 @@ The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for t ...@@ -103,7 +103,6 @@ The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for t
else if cmd == 'save_grade' else if cmd == 'save_grade'
console.log("eval: #{data.score} pts, Feedback: #{data.feedback}")
response = response =
@mock('get_next', {location: data.location}) @mock('get_next', {location: data.location})
# get_problem_list # get_problem_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment