Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
12a2c06f
Commit
12a2c06f
authored
Jul 25, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove console.log statements
parent
2d966209
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+0
-8
lms/static/coffee/src/staff_grading/staff_grading.coffee
+0
-1
No files found.
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
12a2c06f
...
...
@@ -143,11 +143,9 @@ class @CombinedOpenEnded
# set up handlers for click tracking
Rubric
.
initialize
(
@
location
,
@
coe
)
@
is_ctrl
=
false
console
.
log
(
"init rubric"
)
#Setup reset
@
reset_button
=
@
$
(
@
reset_button_sel
)
@
reset_button
.
click
@
reset
console
.
log
(
"init reset"
)
#Setup next problem
@
next_problem_button
=
@
$
(
@
next_step_sel
)
@
next_problem_button
.
click
@
next_problem
...
...
@@ -162,19 +160,15 @@ class @CombinedOpenEnded
@
question_header
.
click
@
collapse_question
# valid states: 'initial', 'assessing', 'post_assessment', 'done'
console
.
log
(
"init collapse"
)
Collapsible
.
setCollapsibles
(
@
$el
)
console
.
log
(
"finish collapse"
)
@
submit_evaluation_button
=
@
$
(
@
submit_evaluation_sel
)
@
submit_evaluation_button
.
click
@
message_post
@
results_container
=
@
$
(
@
result_container_sel
)
console
.
log
(
@
results_container
)
@
combined_rubric_container
=
@
$
(
@
combined_rubric_sel
)
# Where to put the rubric once we load it
console
.
log
(
"started child"
)
@
oe
=
@
$
(
@
open_ended_child_sel
)
@
errors_area
=
@
$
(
@
oe
).
find
(
@
error_sel
)
@
answer_area
=
@
$
(
@
oe
).
find
(
@
answer_area_sel
)
...
...
@@ -192,7 +186,6 @@ class @CombinedOpenEnded
@
file_upload_area
=
$
(
@
oe
).
find
(
@
file_upload_sel
)
@
can_upload_files
=
false
@
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.'
...
...
@@ -436,7 +429,6 @@ class @CombinedOpenEnded
@
is_ctrl
=
false
save_assessment
:
(
event
)
=>
console
.
log
(
"callback save assessment"
)
event
.
preventDefault
()
if
@
child_state
==
'assessing'
&&
Rubric
.
check_complete
()
checked_assessment
=
Rubric
.
get_total_score
()
...
...
lms/static/coffee/src/staff_grading/staff_grading.coffee
View file @
12a2c06f
...
...
@@ -103,7 +103,6 @@ The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for t
else
if
cmd
==
'save_grade'
console
.
log
(
"eval:
#{
data
.
score
}
pts, Feedback:
#{
data
.
feedback
}
"
)
response
=
@
mock
(
'get_next'
,
{
location
:
data
.
location
})
# get_problem_list
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment